mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-18 17:48:03 +00:00
GSP: Implement SetBufferSwap.
This commit is contained in:
parent
e832bbe554
commit
590c206ac8
2 changed files with 47 additions and 1 deletions
|
@ -64,6 +64,18 @@ struct InterruptRelayQueue {
|
|||
static_assert(sizeof(InterruptRelayQueue) == 0x40,
|
||||
"InterruptRelayQueue struct has incorrect size");
|
||||
|
||||
struct FrameBufferInfo {
|
||||
BitField<0, 1, u32> active_fb; // 0 = first, 1 = second
|
||||
|
||||
u32 address_left;
|
||||
u32 address_right;
|
||||
u32 stride; // maps to 0x1EF00X90 ?
|
||||
u32 format; // maps to 0x1EF00X70 ?
|
||||
u32 shown_fb; // maps to 0x1EF00X78 ?
|
||||
u32 unknown;
|
||||
};
|
||||
static_assert(sizeof(FrameBufferInfo) == 0x1c, "Struct has incorrect size");
|
||||
|
||||
/// GSP command
|
||||
struct Command {
|
||||
BitField<0, 8, CommandId> id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue