mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Disable the JIT hackery in app store builds
This commit is contained in:
1 parent
1f13eaa874
commit
f6f45dda0a
5 files changed
+34
-16
No files matched your search
@@ -1168,6 +1168,14 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
|
||||
if (iMaxRecent == 0)
|
||||
iMaxRecent = 60;
|
||||
|
||||
// Fix JIT setting if no longer available.
|
||||
if (!System_GetPropertyBool(SYSPROP_CAN_JIT)) {
|
||||
if (iCpuCore == (int)CPUCore::JIT || iCpuCore == (int)CPUCore::JIT_IR) {
|
||||
WARN_LOG(LOADER, "Forcing JIT off due to unavailablility");
|
||||
iCpuCore = (int)CPUCore::IR_INTERPRETER;
|
||||
}
|
||||
}
|
||||
|
||||
if (iMaxRecent > 0) {
|
||||
private_->ResetRecentIsosThread();
|
||||
std::lock_guard<std::mutex> guard(private_->recentIsosLock);
|
||||
|
||||
Reference in new issue
Block a user