diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-12-26 22:18:37 +0100 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-12-26 22:18:37 +0100 |
| commit | 4eaa6c091f97ca3455b2ae48a5f68867c0f7768e (patch) | |
| tree | 79ae89ae5b7399c774ae6fcb792c109a725e1af8 /Source/LoadMenu.c | |
| parent | f06d582d63b1f91e48ecb17a11987217144c5c79 (diff) | |
| download | airport-4eaa6c091f97ca3455b2ae48a5f68867c0f7768e.tar.gz | |
* Slight optimization: all comparations against true are now compared against != false.
+ Added a provisional background during gameplay (still WIP).
* Map editor now allows creating a map.
Diffstat (limited to 'Source/LoadMenu.c')
| -rw-r--r-- | Source/LoadMenu.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/LoadMenu.c b/Source/LoadMenu.c index 52bd093..246edc3 100644 --- a/Source/LoadMenu.c +++ b/Source/LoadMenu.c @@ -262,30 +262,30 @@ void ISR_LoadMenuVBlank(void) SystemIncreaseGlobalTimer(); - if (SystemIsBusy() == true) + if (SystemIsBusy() != false) { dprintf("SystemIsBusy...\n"); return; } - if ((GfxIsGPUBusy() == true)) + if ((GfxIsGPUBusy() != false)) { - dprintf("(GfxIsGPUBusy() == true)\n"); + dprintf("(GfxIsGPUBusy() != false)\n"); return; } - if (SerialIsBusy() == true) + if (SerialIsBusy() != false) { dprintf("Serialisbusy\n"); return; } - /*if ( (SystemIsBusy() == true) || (GfxIsGPUBusy() == true) || (SerialIsBusy() == true) ) + /*if ( (SystemIsBusy() != false) || (GfxIsGPUBusy() != false) || (SerialIsBusy() != false) ) { return; }*/ - if (startup_flag == true) + if (startup_flag != false) { // "Loading..." text if (LoadMenuTitleSpr.r < LOADING_TITLE_LUMINANCE_TARGET) @@ -343,7 +343,7 @@ void ISR_LoadMenuVBlank(void) } } - else if (end_flag == true) + else if (end_flag != false) { LoadMenuTitleSpr.r -= LOADING_TITLE_LUMINANCE_STEP; LoadMenuTitleSpr.g -= LOADING_TITLE_LUMINANCE_STEP; |
