mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Allow running with only SD mounted
This commit is contained in:
parent
f331200506
commit
36213b606b
@ -27,7 +27,7 @@ bool InitFS() {
|
|||||||
snprintf(fsname, 7, "%lu:", numfs);
|
snprintf(fsname, 7, "%lu:", numfs);
|
||||||
int res = f_mount(fs + numfs, fsname, 1);
|
int res = f_mount(fs + numfs, fsname, 1);
|
||||||
if (res != FR_OK) {
|
if (res != FR_OK) {
|
||||||
if (numfs >= 4) break;
|
if (numfs >= 1) break;
|
||||||
ShowPrompt(false, "Initialising failed! (%lu/%s/%i)", numfs, fsname, res);
|
ShowPrompt(false, "Initialising failed! (%lu/%s/%i)", numfs, fsname, res);
|
||||||
DeinitFS();
|
DeinitFS();
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user