aboutsummaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2026-10-28 22:44:04 +0100
committerNicholas Rodrigues Lordello <[email protected]>2026-10-28 22:44:04 +0100
commit5db0d1702e9ba8b64d71967bbd651cb38b649cd7 (patch)
tree4b1997a13ea649ac4022c01c6326abe749b68d31 /src/game.c
parent756750924357cae5ea9df48af3f55e17a2fd90e2 (diff)
Implement Remaining Syscalls
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.c b/src/game.c
index f740500..41b53b0 100644
--- a/src/game.c
+++ b/src/game.c
@@ -67,6 +67,7 @@ void pw_game_free(struct pw_game *game) {
pw_input_free(game->input);
pw_env_free(game->env);
if (game->cart) {
+ pw_fs_sync(game->cart->storage);
pw_cart_free(game->cart);
}
SDL_free(game);