mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 05:32:47 +00:00
Fix EmuNAND setup after SD format
This commit is contained in:
parent
eae783d6c3
commit
2c271fb97e
@ -238,10 +238,12 @@ u32 SdFormatMenu(void) {
|
||||
VirtualFile nand;
|
||||
if (!GetVirtualFile(&nand, "S:/nand_minsize.bin"))
|
||||
return 0;
|
||||
InitSDCardFS(); // this has to be initialized for EmuNAND to work
|
||||
if ((nand.size / (1024*1024) <= emunand_size_mb) && ShowPrompt(true, "Clone SysNAND to RedNAND now?")) {
|
||||
if (!PathCopy("E:", "S:/nand_minsize.bin", NULL))
|
||||
ShowPrompt(false, "Cloning SysNAND to EmuNAND: failed!");
|
||||
}
|
||||
DeinitSDCardFS();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user