Fix save device unmounting on exit
- Properly unmount save device before application exit - Prevents potential file system issues - Ensures clean shutdown process
This commit is contained in:
parent
41e49c2080
commit
07db2a4d8d
1 changed files with 2 additions and 0 deletions
|
|
@ -35,6 +35,8 @@ int main(int argc, char **argv)
|
||||||
consoleUpdate(NULL);
|
consoleUpdate(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Unmount save data before exit
|
||||||
|
fsdevUnmountDevice("save");
|
||||||
consoleExit(NULL);
|
consoleExit(NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue