diff options
| author | Xavier ASUS <xavi92psx@gmail.com> | 2018-11-29 01:29:43 +0100 |
|---|---|---|
| committer | Xavier ASUS <xavi92psx@gmail.com> | 2018-11-29 01:29:43 +0100 |
| commit | 26bfe68b0964bf5cc94da480749cc580c9c99e78 (patch) | |
| tree | 843d54d6c3bc1709297929c95b778d0dfab320d4 /Source/Gfx.c | |
| parent | 41df9924d450f04ab2d80d5a755dcbdf8bdb8271 (diff) | |
| download | airport-26bfe68b0964bf5cc94da480749cc580c9c99e78.tar.gz | |
Blue background dimensions are now limited to drawing enviroment's.
Fixed X position for "Remaining aircraft" and "Next aircraft" messages in GameGui.c
Diffstat (limited to 'Source/Gfx.c')
| -rw-r--r-- | Source/Gfx.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Source/Gfx.c b/Source/Gfx.c index 67fd3ed..2332892 100644 --- a/Source/Gfx.c +++ b/Source/Gfx.c @@ -909,7 +909,7 @@ void GfxSetSplitScreen(uint8_t playerIndex) break; } - GsSetDrawEnv_DMA(&DrawEnv); + GsSetDrawEnv(&DrawEnv); } void GfxDisableSplitScreen(void) @@ -919,3 +919,13 @@ void GfxDisableSplitScreen(void) GsSetDrawEnv_DMA(&DrawEnv); } + +short GfxGetDrawEnvWidth(void) +{ + return DrawEnv.w; +} + +short GfxGetDrawEnvHeight(void) +{ + return DrawEnv.h; +} |
