citra-emu
/
citra
Archived
1
0
Fork 0

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:
Subv 2017-12-16 13:33:42 -05:00
parent 125f5d1e68
commit f4b595331f
1 changed files with 1 additions and 2 deletions

View File

@ -62,8 +62,7 @@ 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 active_fb; // 0 = first, 1 = second
u32 address_left;
u32 address_right;
u32 stride; // maps to 0x1EF00X90 ?