From f4b595331f44784fb94a88980ef27025a882ea74 Mon Sep 17 00:00:00 2001 From: Subv Date: Sat, 16 Dec 2017 13:33:42 -0500 Subject: [PATCH] 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. --- src/core/hle/service/gsp_gpu.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/hle/service/gsp_gpu.h b/src/core/hle/service/gsp_gpu.h index c6e24073b3..8b23f1a0b3 100644 --- a/src/core/hle/service/gsp_gpu.h +++ b/src/core/hle/service/gsp_gpu.h @@ -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 ?