This commit is contained in:
Aurora 2016-03-10 04:25:38 +01:00
parent 9be7481c14
commit 09cc7c903c

View File

@ -37,7 +37,8 @@ void clearScreen(void){
void loadSplash(void){ void loadSplash(void){
clearScreen(); clearScreen();
//Don't delay boot if no splash image is on the SD //Don't delay boot if no splash image is on the SD
if(!fileRead(fb->top_left, "/rei/splash.bin", 0x46500) && if(fileRead(fb->top_left, "/rei/splash.bin", 0x46500) +
!fileRead(fb->bottom, "/rei/splashbottom.bin", 0x38400)) return; fileRead(fb->bottom, "/rei/splashbottom.bin", 0x38400)){
u64 i = 0xFFFFFF; while(--i) __asm("mov r0, r0"); //Less Ghetto sleep func u64 i = 0xFFFFFF; while(--i) __asm("mov r0, r0"); //Less Ghetto sleep func
}
} }