Minor splash fixes

This commit is contained in:
Aurora 2016-03-02 00:49:14 +01:00
parent 7f6ef45f37
commit 5a41663ddc

View File

@ -30,8 +30,8 @@ void shutdownLCD(void){
}
void clearScreen(void){
memset(fb->top_left, 0, 0x38400);
memset(fb->top_right, 0, 0x38400);
memset(fb->top_left, 0, 0x46500);
memset(fb->top_right, 0, 0x46500);
memset(fb->bottom, 0, 0x38400);
}
@ -39,6 +39,6 @@ void loadSplash(void){
//Check if it's a no-screen-init A9LH boot via PDN_GPU_CNT
if (*((u8*)0x10141200) == 0x1) return;
clearScreen();
fileRead(fb->top_left, "/rei/splash.bin", 0x46500);
if(fileRead(fb->top_left, "/rei/splash.bin", 0x46500) != 0) return;
u64 i = 0xFFFFFF; while(--i) __asm("mov r0, r0"); //Less Ghetto sleep func
}