mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 23:40:29 +02:00
Improve checks for JIT ability
Prep for iOS
This commit is contained in:
1 parent
0506adb65c
commit
e7cfb5234f
2 files changed
+8
-1
No files matched your search
@@ -1227,6 +1227,13 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
|
||||
ResetControlLayout();
|
||||
}
|
||||
|
||||
// Force JIT setting to a valid value for the current system configuration.
|
||||
if (!System_GetPropertyBool(SYSPROP_CAN_JIT)) {
|
||||
if (g_Config.iCpuCore == (int)CPUCore::JIT || g_Config.iCpuCore == (int)CPUCore::JIT_IR) {
|
||||
g_Config.iCpuCore = (int)CPUCore::IR_INTERPRETER;
|
||||
}
|
||||
}
|
||||
|
||||
const char *gitVer = PPSSPP_GIT_VERSION;
|
||||
Version installed(gitVer);
|
||||
Version upgrade(upgradeVersion);
|
||||
|
||||
Reference in new issue
Block a user