diff --git a/source/draw.c b/source/draw.c index 76c46f4..0bb2c9b 100644 --- a/source/draw.c +++ b/source/draw.c @@ -36,8 +36,7 @@ void clearScreen(void){ void loadSplash(void){ clearScreen(); - if(fileRead(fb->top_left, "/rei/splash.bin", 0x46500) || - fileRead(fb->bottom, "/rei/splashbottom.bin", 0x38400)){ - u64 i = 0xFFFFFF; while(--i) __asm("mov r0, r0"); //Less Ghetto sleep func - } + if(!fileRead(fb->top_left, "/rei/splash.bin", 0x46500) && + !fileRead(fb->bottom, "/rei/splashbottom.bin", 0x38400)) return; + u64 i = 0xFFFFFF; while(--i) __asm("mov r0, r0"); //Less Ghetto sleep func } \ No newline at end of file