This commit is contained in:
Aurora 2016-03-10 01:59:25 +01:00
parent 4748c0292c
commit 9f68ce0d70

View File

@ -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
}