From 07db2a4d8de337e846d0fdb508e3e3d9e9872014 Mon Sep 17 00:00:00 2001 From: badbl0cks <4161747+badbl0cks@users.noreply.github.com> Date: Tue, 23 May 2023 11:17:52 -0700 Subject: [PATCH] Fix save device unmounting on exit - Properly unmount save device before application exit - Prevents potential file system issues - Ensures clean shutdown process --- source/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/main.c b/source/main.c index f1721fa..2aa95c2 100644 --- a/source/main.c +++ b/source/main.c @@ -35,6 +35,8 @@ int main(int argc, char **argv) consoleUpdate(NULL); } + // Unmount save data before exit + fsdevUnmountDevice("save"); consoleExit(NULL); return 0; } \ No newline at end of file