mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-01 00:12:55 +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
|
@ -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