From 09cc7c903c83f5779715c01662b59bbe1a29b7d6 Mon Sep 17 00:00:00 2001 From: Aurora Date: Thu, 10 Mar 2016 04:25:38 +0100 Subject: [PATCH] Oops #2 --- source/draw.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/draw.c b/source/draw.c index 2a862b9..576ee40 100644 --- a/source/draw.c +++ b/source/draw.c @@ -37,7 +37,8 @@ void clearScreen(void){ void loadSplash(void){ clearScreen(); //Don't delay boot if no splash image is on the SD - 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 + 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 + } } \ No newline at end of file