From: Lockl00p Date: Sun, 8 Oct 2023 18:19:49 +0000 (+0000) Subject: Sync IDBFS when saving config. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=58eeb5941292a11016b00f3f44c0afac5e585dd6;p=xonotic%2Fdarkplaces.git Sync IDBFS when saving config. --- diff --git a/host.c b/host.c index f12b8b8e..a92a4384 100644 --- 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)