mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Make gm9i folder if it doesn't exist
This commit is contained in:
parent
78e9bd9996
commit
7c1635033a
@ -193,6 +193,12 @@ int main(int argc, char **argv) {
|
|||||||
swiWaitForVBlank();
|
swiWaitForVBlank();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ensure gm9i folder exists
|
||||||
|
char folderPath[10];
|
||||||
|
sprintf(folderPath, "%s:/gm9i", (sdMounted ? "sd" : "fat"));
|
||||||
|
if (access(folderPath, F_OK) != 0)
|
||||||
|
mkdir(folderPath, 0777);
|
||||||
|
|
||||||
// Load config
|
// Load config
|
||||||
config = new Config();
|
config = new Config();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user