Removed -1 on fillscreen rects

This commit is contained in:
KiritoDv 2024-11-25 00:00:30 -06:00
parent ed8a78c54c
commit 78696036d2

View File

@ -1492,7 +1492,7 @@ void HUD_PauseScreen_Update(void) {
case 3: case 3:
Graphics_FillRectangle(&gMasterDisp, OTRGetRectDimensionFromLeftEdge(0), 0, Graphics_FillRectangle(&gMasterDisp, OTRGetRectDimensionFromLeftEdge(0), 0,
OTRGetRectDimensionFromRightEdge(SCREEN_WIDTH - 1), SCREEN_HEIGHT - 1, 0, 0, 0, OTRGetRectDimensionFromRightEdge(SCREEN_WIDTH), SCREEN_HEIGHT, 0, 0, 0,
255); 255);
gFillScreenAlphaTarget = 0; gFillScreenAlphaTarget = 0;
@ -1543,7 +1543,7 @@ void HUD_PauseScreen_Update(void) {
case 4: case 4:
Graphics_FillRectangle(&gMasterDisp, OTRGetRectDimensionFromLeftEdge(0), 0, Graphics_FillRectangle(&gMasterDisp, OTRGetRectDimensionFromLeftEdge(0), 0,
OTRGetRectDimensionFromRightEdge(SCREEN_WIDTH - 1), SCREEN_HEIGHT - 1, 0, 0, 0, OTRGetRectDimensionFromRightEdge(SCREEN_WIDTH), SCREEN_HEIGHT, 0, 0, 0,
255); 255);
if (sPauseScreenTimer[0] < 140) { if (sPauseScreenTimer[0] < 140) {
break; break;
@ -1563,7 +1563,7 @@ void HUD_PauseScreen_Update(void) {
case 5: case 5:
Graphics_FillRectangle(&gMasterDisp, OTRGetRectDimensionFromLeftEdge(0), 0, Graphics_FillRectangle(&gMasterDisp, OTRGetRectDimensionFromLeftEdge(0), 0,
OTRGetRectDimensionFromRightEdge(SCREEN_WIDTH - 1), SCREEN_HEIGHT - 1, 0, 0, 0, OTRGetRectDimensionFromRightEdge(SCREEN_WIDTH ), SCREEN_HEIGHT, 0, 0, 0,
255); 255);
for (i = 0; i < 6; i++) { for (i = 0; i < 6; i++) {