mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix CpuCore select
This commit is contained in:
parent
c69dd2f2e4
commit
a709e8eaa8
3 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
|
||||
extern const char *PPSSPP_GIT_VERSION;
|
||||
|
||||
extern bool jitForcedOff;
|
||||
|
||||
enum ChatPositions {
|
||||
BOTTOM_LEFT = 0,
|
||||
BOTTOM_CENTER = 1,
|
||||
|
|
|
@ -770,7 +770,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
|||
// Just gonna force it to the IR interpreter on startup.
|
||||
// We don't hide the option, but we make sure it's off on bootup. In case someone wants
|
||||
// to experiment in future iOS versions or something...
|
||||
g_Config.iCpuCore = (int)CPUCore::IR_JIT;
|
||||
jitForcedOff = true;
|
||||
}
|
||||
|
||||
auto des = GetI18NCategory("DesktopUI");
|
||||
|
|
Loading…
Add table
Reference in a new issue