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:
badblocks 2023-05-23 11:17:52 -07:00
parent 41e49c2080
commit 07db2a4d8d
No known key found for this signature in database

View file

@ -35,6 +35,8 @@ int main(int argc, char **argv)
consoleUpdate(NULL);
}
// Unmount save data before exit
fsdevUnmountDevice("save");
consoleExit(NULL);
return 0;
}