Minor formatting updates
This commit is contained in:
parent
9f68ce0d70
commit
9be7481c14
@ -18,9 +18,9 @@ void shutdownLCD(void){
|
|||||||
*arm11 = 0;
|
*arm11 = 0;
|
||||||
|
|
||||||
//Shutdown LCDs
|
//Shutdown LCDs
|
||||||
*(vu32*)0x10202A44 = 0;
|
*(vu32 *)0x10202A44 = 0;
|
||||||
*(vu32*)0x10202244 = 0;
|
*(vu32 *)0x10202244 = 0;
|
||||||
*(vu32*)0x10202014 = 0;
|
*(vu32 *)0x10202014 = 0;
|
||||||
|
|
||||||
//Wait for the ARM11 entrypoint to be set
|
//Wait for the ARM11 entrypoint to be set
|
||||||
while(!*arm11);
|
while(!*arm11);
|
||||||
@ -36,6 +36,7 @@ void clearScreen(void){
|
|||||||
|
|
||||||
void loadSplash(void){
|
void loadSplash(void){
|
||||||
clearScreen();
|
clearScreen();
|
||||||
|
//Don't delay boot if no splash image is on the SD
|
||||||
if(!fileRead(fb->top_left, "/rei/splash.bin", 0x46500) &&
|
if(!fileRead(fb->top_left, "/rei/splash.bin", 0x46500) &&
|
||||||
!fileRead(fb->bottom, "/rei/splashbottom.bin", 0x38400)) return;
|
!fileRead(fb->bottom, "/rei/splashbottom.bin", 0x38400)) return;
|
||||||
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
|
||||||
|
Reference in New Issue
Block a user