diff --git a/arm9/source/godmode.c b/arm9/source/godmode.c index 2c282e82..886ae370 100644 --- a/arm9/source/godmode.c +++ b/arm9/source/godmode.c @@ -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"); }