// Savestate Versioning!
// If you make changes to the savestate version, please increment the value below.
-static const u32 SaveVersion = 0x8b410004;
+static const u32 SaveVersion = 0x8b410006;
int SaveState(const char *file) {
gzFile f;
f = gzopen(file, "wb");
if (f == NULL) return -1;
+ new_dyna_save();
+
gzwrite(f, (void *)PcsxHeader, 32);
gzwrite(f, (void *)&SaveVersion, sizeof(u32));
gzwrite(f, (void *)&Config.HLE, sizeof(boolean));
mdecFreeze(f, 0);
gzclose(f);
+ new_dyna_restore();
return 0;
}