summaryrefslogtreecommitdiff
path: root/mm/src/code
diff options
context:
space:
mode:
Diffstat (limited to 'mm/src/code')
-rw-r--r--mm/src/code/z_rcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/src/code/z_rcp.c b/mm/src/code/z_rcp.c
index 57aa5fbef..9865abc90 100644
--- a/mm/src/code/z_rcp.c
+++ b/mm/src/code/z_rcp.c
@@ -1513,8 +1513,9 @@ void func_8012CF0C(GraphicsContext* gfxCtx, s32 clearFb, s32 clearZb, u8 r, u8 g
// #region 2S2H [Cosmetic] Account for different aspect ratios than 4:3
// WideRectangle consumes two instructions and requires ++ for the macro to work
+ // Remove `- 1` on the sizes so the rectangle fills the whole screen like `fillRect`
Gfx* tmpGfx = masterGfx;
- gDPFillWideRectangle(tmpGfx++, OTRGetRectDimensionFromLeftEdge(0), 0, OTRGetRectDimensionFromRightEdge(gCfbWidth), gCfbHeight - 1);
+ gDPFillWideRectangle(tmpGfx++, OTRGetRectDimensionFromLeftEdge(0), 0, OTRGetRectDimensionFromRightEdge(gCfbWidth), gCfbHeight);
gDPPipeSync(&masterGfx[2]);
gSPEndDisplayList(&masterGfx[3]);
// #endregion