mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-20 06:24:17 +00:00
GSP/GPU: Make FrameBufferInfo::active_fb use the entire u32 instead of just one bit.
The GSP module reads the entire 32 bit word from this field to determine the framebuffer.
This commit is contained in:
parent
125f5d1e68
commit
f4b595331f
1 changed files with 1 additions and 2 deletions
|
@ -62,8 +62,7 @@ struct InterruptRelayQueue {
|
||||||
static_assert(sizeof(InterruptRelayQueue) == 0x40, "InterruptRelayQueue struct has incorrect size");
|
static_assert(sizeof(InterruptRelayQueue) == 0x40, "InterruptRelayQueue struct has incorrect size");
|
||||||
|
|
||||||
struct FrameBufferInfo {
|
struct FrameBufferInfo {
|
||||||
BitField<0, 1, u32> active_fb; // 0 = first, 1 = second
|
u32 active_fb; // 0 = first, 1 = second
|
||||||
|
|
||||||
u32 address_left;
|
u32 address_left;
|
||||||
u32 address_right;
|
u32 address_right;
|
||||||
u32 stride; // maps to 0x1EF00X90 ?
|
u32 stride; // maps to 0x1EF00X90 ?
|
||||||
|
|
Loading…
Reference in a new issue