diff options
| author | inspectredc <78732756+inspectredc@users.noreply.github.com> | 2025-01-18 16:19:33 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-18 09:19:33 -0700 |
| commit | 51d2f2ec97f6de209ba1696257d0ebfc2bbe37ed (patch) | |
| tree | 470a2a96a344790f40cb7cfce574caff66254867 /src/menu_items.c | |
| parent | 8c46368d5d93ad278c124ffc6446ab691dff8082 (diff) | |
Fix mac building (#157)
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/menu_items.c')
| -rw-r--r-- | src/menu_items.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/menu_items.c b/src/menu_items.c index be1aa048c..1cba05399 100644 --- a/src/menu_items.c +++ b/src/menu_items.c @@ -7901,11 +7901,13 @@ void render_pause_grand_prix(MenuItem* arg0) { gDisplayListHead = draw_box_wide(gDisplayListHead, temp_v1 - temp_t3, temp_t0 - temp_t4, temp_v1 + temp_t3, temp_t0 + temp_t4, 0, 0, 0, 140); break; - case SCREEN_MODE_2P_SPLITSCREEN_VERTICAL: + case SCREEN_MODE_2P_SPLITSCREEN_VERTICAL: { + s32 leftEdge = OTRGetDimensionFromLeftEdge(0); s32 rightEdge = OTRGetDimensionFromRightEdge(SCREEN_WIDTH); gDisplayListHead = draw_box_wide(gDisplayListHead, leftEdge - rightEdge, temp_t0 - temp_t4, leftEdge + rightEdge, temp_t0 + temp_t4, 0, 0, 0, 140); + } break; default: gDisplayListHead = draw_box(gDisplayListHead, temp_v1 - temp_t3, temp_t0 - temp_t4, temp_v1 + temp_t3, |
