summaryrefslogtreecommitdiff
path: root/libpcsxcore/psxcommon.c
diff options
context:
space:
mode:
authorSND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-02-16 09:50:38 +0000
committerSND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-02-16 09:50:38 +0000
commitfe4b4c0f5672ba45c174b42fe3540029d9a5552a (patch)
tree13be88a7e99bb24112cea1a3535ca09bbd9a25e8 /libpcsxcore/psxcommon.c
parent9bb4ff671b89d5f8d7605ce5e601c368b3cba673 (diff)
downloadpcsxr-fe4b4c0f5672ba45c174b42fe3540029d9a5552a.tar.gz
Optimized SaveStateGz: Core i5 2520M: from ~45ms to less than 5ms call avg. Now rewind feature should be usable even more lower end machines.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89136 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/psxcommon.c')
-rwxr-xr-xlibpcsxcore/psxcommon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpcsxcore/psxcommon.c b/libpcsxcore/psxcommon.c
index 98525e51..b7f547f0 100755
--- a/libpcsxcore/psxcommon.c
+++ b/libpcsxcore/psxcommon.c
@@ -50,6 +50,8 @@ void EmuShutdown() {
FreePPFCache();
psxShutdown();
+
+ CleanupMemSaveStates();
}
void EmuUpdate() {