void *f;
GPUFreeze_t *gpufP = NULL;
SPUFreeze_t *spufP = NULL;
+ boolean hle, oldhle;
int Size;
char header[32];
u32 version;
- boolean hle;
int result = -1;
f = SaveFuncs.open(file, "rb");
SysPrintf("incompatible savestate version %x\n", version);
goto cleanup;
}
+ oldhle = Config.HLE;
Config.HLE = hle;
if (Config.HLE)
if (Config.HLE)
psxBiosCheckExe(biosBranchCheckOld, 0x60, 1);
+ if (Config.HLE != oldhle) {
+ // at least ari64 drc compiles differently so hard reset
+ psxCpu->Shutdown();
+ psxCpu->Init();
+ }
psxCpu->Notify(R3000ACPU_NOTIFY_AFTER_LOAD, NULL);
result = 0;