mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 05:32:47 +00:00
- fixed bug where a N3DS without extra FCRAM enabled would get stuck on boot
This commit is contained in:
parent
ad9a9bd5a0
commit
46a5735f5c
@ -40,12 +40,10 @@ static void SYS_EnableClkMult(void)
|
|||||||
// as early as possible in the initialization chain
|
// as early as possible in the initialization chain
|
||||||
if (SYS_IsNewConsole() && !SYS_ClkMultEnabled()) {
|
if (SYS_IsNewConsole() && !SYS_ClkMultEnabled()) {
|
||||||
GIC_Enable(88, BIT(0), GIC_HIGHEST_PRIO, NULL);
|
GIC_Enable(88, BIT(0), GIC_HIGHEST_PRIO, NULL);
|
||||||
ARM_EnableInterrupts();
|
|
||||||
*CFG11_MPCORE_CLKCNT = 0x8001;
|
*CFG11_MPCORE_CLKCNT = 0x8001;
|
||||||
do {
|
do {
|
||||||
ARM_WFI();
|
ARM_WFI();
|
||||||
} while(!(*CFG11_MPCORE_CLKCNT & 0x8000));
|
} while(!(*CFG11_MPCORE_CLKCNT & 0x8000));
|
||||||
ARM_DisableInterrupts();
|
|
||||||
GIC_Disable(88, BIT(0));
|
GIC_Disable(88, BIT(0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user