aboutsummaryrefslogtreecommitdiff
path: root/frontend/main.c
diff options
context:
space:
mode:
authornotaz2012-02-27 02:12:48 +0200
committernotaz2012-02-28 01:46:14 +0200
commit0b1dbe6bc25227c910a4dea2fadcdda540add969 (patch)
treea152b007ee55d54228a3fc418fe9604222272721 /frontend/main.c
parent42a261f1abb21841442aa3e366201565b3143480 (diff)
downloadpcsx_rearmed-0b1dbe6bc25227c910a4dea2fadcdda540add969.tar.gz
pcsx_rearmed-0b1dbe6bc25227c910a4dea2fadcdda540add969.tar.bz2
pcsx_rearmed-0b1dbe6bc25227c910a4dea2fadcdda540add969.zip
frontend: sync workaround for caanoo
trying to deal with "save corruption", no idea if this helps as this never happens for me.
Diffstat (limited to 'frontend/main.c')
-rw-r--r--frontend/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/main.c b/frontend/main.c
index 0dd488e..a305312 100644
--- a/frontend/main.c
+++ b/frontend/main.c
@@ -531,6 +531,9 @@ int emu_save_state(int slot)
return ret;
ret = SaveState(fname);
+#ifndef __ARM_ARCH_7A__ /* XXX */
+ sync();
+#endif
printf("* %s \"%s\" [%d]\n", ret == 0 ? "saved" : "failed to save", fname, slot);
return ret;
}