mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Offer SysNAND -> RedNAND clone on SD format
This commit is contained in:
parent
26c677b785
commit
659e66e1ca
@ -224,6 +224,14 @@ u32 SdFormatMenu(void) {
|
|||||||
DeinitSDCardFS();
|
DeinitSDCardFS();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VirtualFile nand;
|
||||||
|
if (!FindVirtualFile(&nand, "S:/nand_minsize.bin", 0))
|
||||||
|
return 0;
|
||||||
|
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!");
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user