mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Don't mount NitroFS, if not found in the ROM
This commit is contained in:
parent
6226892784
commit
81e6b7afb0
@ -160,8 +160,15 @@ nitroFSInit(const char *ndsfile)
|
|||||||
hasLoader = false;
|
hasLoader = false;
|
||||||
}
|
}
|
||||||
setvbuf(ndsFile, NULL, _IONBF, 0); //we dont need double buffs u_u
|
setvbuf(ndsFile, NULL, _IONBF, 0); //we dont need double buffs u_u
|
||||||
AddDevice(&nitroFSdevoptab);
|
if (fntOffset==0 || fatOffset==0)
|
||||||
return (1);
|
{
|
||||||
|
return (0);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
AddDevice(&nitroFSdevoptab);
|
||||||
|
return (1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return (0);
|
return (0);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user