summaryrefslogtreecommitdiff
path: root/src/racing
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2026-01-17 22:35:21 -0700
committerGitHub <noreply@github.com>2026-01-17 22:35:21 -0700
commita2036f5ce7e1e37d7e543e3dbab0cd9a6fbc6ea6 (patch)
tree8633f908ce389a1e7ff1c5bf6799be408dcc8bf9 /src/racing
parent61a2f1c5e82736d2328481a5765b1483a23bcea5 (diff)
Fix screen blanking (#627)
* Update main.c * Update skybox_and_splitscreen.c * Adjust framebuffer handling in race_logic_loop Reorder framebuffer clearing and creation for proper rendering.
Diffstat (limited to 'src/racing')
-rw-r--r--src/racing/skybox_and_splitscreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/racing/skybox_and_splitscreen.c b/src/racing/skybox_and_splitscreen.c
index 2ae1548f7..b36a55772 100644
--- a/src/racing/skybox_and_splitscreen.c
+++ b/src/racing/skybox_and_splitscreen.c
@@ -280,7 +280,7 @@ void select_framebuffer(void) {
GPACK_RGBA5551(D_800DC5D0, D_800DC5D4, D_800DC5D8, 1));
gDPPipeSync(gDisplayListHead++);
gDPSetScissor(gDisplayListHead++, G_SC_NON_INTERLACE, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT);
- gDPFillRectangle(gDisplayListHead++, 0, 0, SCREEN_WIDTH - 1, SCREEN_HEIGHT - 1);
+ gDPFillWideRectangle(gDisplayListHead++, OTRGetRectDimensionFromLeftEdge(0), 0, OTRGetGameRenderWidth(), SCREEN_HEIGHT);
gDPPipeSync(gDisplayListHead++);
gDPSetCycleType(gDisplayListHead++, G_CYC_1CYCLE);
}