Better here

This commit is contained in:
Aurora 2016-03-17 00:37:43 +01:00
parent dcb09a9472
commit 078fce4b3d
2 changed files with 2 additions and 4 deletions

View File

@ -36,7 +36,8 @@ void main(){
((pressed & BUTTON_UP) && loadPayload("/rei/payloads/up.bin")) ||
((pressed & BUTTON_DOWN) && loadPayload("/rei/payloads/down.bin")) ||
loadPayload("/rei/payloads/default.bin")){
initLCD();
//Determine if screen was already inited
if(*(vu8 *)0x10141200 == 0x1) initLCD();
((void (*)())PAYLOAD_ADDRESS)();
}
}

View File

@ -102,9 +102,6 @@ void initLCD()
((void (*)())*arm11)();
}
//Determine if screen was already inited
if(*(vu8 *)0x10141200 != 0x1) return;
//Set CakeBrah framebuffers
*(vu32 *)0x23FFFE00 = 0x18300000;
*(vu32 *)0x23FFFE04 = 0x18300000;