]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Sync IDBFS when saving config.
authorLockl00p <hakzstudios@gmail.com>
Sun, 8 Oct 2023 18:19:49 +0000 (18:19 +0000)
committerLockl00p <hakzstudios@gmail.com>
Sun, 8 Oct 2023 18:19:49 +0000 (18:19 +0000)
host.c

diff --git a/host.c b/host.c
index f12b8b8e38df8cc3310f054555b29aaed3a96dd0..a92a43841086efc7a9fb26fa8f44f8f225705a37 100644 (file)
--- a/host.c
+++ b/host.c
@@ -214,6 +214,7 @@ void Host_SaveConfig(const char *file)
 
                FS_Close (f);
        }
+       EM_ASM(FS.syncfs());
 }
 
 static void Host_SaveConfig_f(cmd_state_t *cmd)