Skip to content

Commit

Permalink
Oops #2
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraWright committed Mar 10, 2016
1 parent 9be7481 commit 09cc7c9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions source/draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit 09cc7c9

Please sign in to comment.