Fix CpuCore select

This commit is contained in:
Halo-Michael committed 2022-05-30 06:32:18 +08:00
1 parent c69dd2f2e4
commit a709e8eaa8
3 files changed
+7 -1

No files matched your search

+4
View File
@@ -1527,7 +1527,11 @@ bool Config::Save(const char *saveReason) {
}
if (jitForcedOff) {
// force JIT off again just in case Config::Save() is called without exiting PPSSPP
#if PPSSPP_PLATFORM(IOS)
g_Config.iCpuCore = (int)CPUCore::IR_JIT;
#else
g_Config.iCpuCore = (int)CPUCore::INTERPRETER;
#endif
}
return true;
}