Avoid overflows with menuhax generated splashes
This commit is contained in:
parent
32e2b85f3a
commit
7f6ef45f37
@ -39,6 +39,6 @@ void loadSplash(void){
|
|||||||
//Check if it's a no-screen-init A9LH boot via PDN_GPU_CNT
|
//Check if it's a no-screen-init A9LH boot via PDN_GPU_CNT
|
||||||
if (*((u8*)0x10141200) == 0x1) return;
|
if (*((u8*)0x10141200) == 0x1) return;
|
||||||
clearScreen();
|
clearScreen();
|
||||||
fileRead(fb->top_left, "/rei/splash.bin", 0);
|
fileRead(fb->top_left, "/rei/splash.bin", 0x46500);
|
||||||
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
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user