From 9f68ce0d704f9f443298d7e1982df456df0f95cc Mon Sep 17 00:00:00 2001 From: Aurora Date: Thu, 10 Mar 2016 01:59:25 +0100 Subject: [PATCH] Oops --- source/draw.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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