Disable splash screen when forcing boot options
This commit is contained in:
parent
3e0b928db0
commit
b1a428f6bc
@ -35,8 +35,6 @@ void clearScreen(void){
|
||||
}
|
||||
|
||||
void loadSplash(void){
|
||||
//Check if it's a no-screen-init A9LH boot via PDN_GPU_CNT
|
||||
if(*(u8 *)0x10141200 == 0x1) return;
|
||||
clearScreen();
|
||||
if(!fileRead(fb->top_left, "/rei/splash.bin", 0x46500)) return;
|
||||
u64 i = 0xFFFFFF; while(--i) __asm("mov r0, r0"); //Less Ghetto sleep func
|
||||
|
@ -69,6 +69,9 @@ void setupCFW(void){
|
||||
//If L and R are pressed, chainload an external payload
|
||||
if(a9lhBoot && (pressed & BUTTON_L1R1) == BUTTON_L1R1) loadPayload();
|
||||
|
||||
//Check if it's a no-screen-init A9LH boot via PDN_GPU_CNT
|
||||
if(*(u8 *)0x10141200 != 0x1) loadSplash();
|
||||
|
||||
/* If L is pressed, and on an updated SysNAND setup the SAFE MODE combo
|
||||
is not pressed, boot 9.0 FIRM */
|
||||
if((pressed & BUTTON_L1) && !(updatedSys && pressed == SAFEMODE)) mode = 0;
|
||||
|
@ -16,7 +16,6 @@ void main(){
|
||||
}
|
||||
|
||||
void startCFW(){
|
||||
loadSplash();
|
||||
if(!loadFirm()) return;
|
||||
if(!patchFirm()) return;
|
||||
launchFirm();
|
||||
|
Reference in New Issue
Block a user