mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 13:35:11 +03:00
Removed -1 on fillscreen rects
This commit is contained in:
parent
ed8a78c54c
commit
78696036d2
@ -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++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user