mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 05:32:47 +00:00
Fix fcram boot bug (#864)
Fixed old bug that appeared regarding the fcram boot failing.
This commit is contained in:
parent
dab90a9162
commit
eee63dd155
@ -2539,6 +2539,9 @@ u32 GodMode(int entrypoint) {
|
||||
if (bootloader) {
|
||||
const char* bootfirm_paths[] = { BOOTFIRM_PATHS };
|
||||
if (IsBootableFirm(firm_in_mem, FIRM_MAX_SIZE)) {
|
||||
DeinitExtFS();
|
||||
DeinitSDCardFS();
|
||||
PXI_DoCMD(PXICMD_LEGACY_BOOT, NULL, 0);
|
||||
PXI_Barrier(PXI_FIRMLAUNCH_BARRIER);
|
||||
BootFirm(firm_in_mem, "sdmc:/bootonce.firm");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user