mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 06:50:29 +02:00
iOS: Disable jit in DefaultCpuCore().
This means loading game-specific inis should properly auto-disable.
This commit is contained in:
1 parent
13b3a540c3
commit
655797a846
3 files changed
+5
-12
No files matched your search
+5
-3
@@ -60,7 +60,7 @@ http::Downloader g_DownloadManager;
|
||||
|
||||
Config g_Config;
|
||||
|
||||
bool jitForcedOff;
|
||||
static bool jitForcedOff;
|
||||
|
||||
// Not in Config.h because it's #included a lot.
|
||||
struct ConfigPrivate {
|
||||
@@ -477,9 +477,11 @@ std::string CreateRandMAC() {
|
||||
|
||||
static int DefaultCpuCore() {
|
||||
#if PPSSPP_ARCH(ARM) || PPSSPP_ARCH(ARM64) || PPSSPP_ARCH(X86) || PPSSPP_ARCH(AMD64)
|
||||
return (int)CPUCore::JIT;
|
||||
if (System_GetPropertyBool(SYSPROP_CAN_JIT))
|
||||
return (int)CPUCore::JIT;
|
||||
return (int)CPUCore::IR_JIT;
|
||||
#else
|
||||
return (int)CPUCore::INTERPRETER;
|
||||
return (int)CPUCore::IR_JIT;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user