From 20cc4508f0bbb65d1af773ad4ef2e9c312dc37d7 Mon Sep 17 00:00:00 2001 From: Craftyawesome Date: Thu, 4 Apr 2019 09:10:04 -0400 Subject: [PATCH] Re-order cpu emulation options from fastest to slowest Based on https://bugs.dolphin-emu.org/issues/11658 Update arrays.xml --- .../app/src/main/res/values/arrays.xml | 20 +++++++++---------- Source/Core/Core/PowerPC/PowerPC.cpp | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Source/Android/app/src/main/res/values/arrays.xml b/Source/Android/app/src/main/res/values/arrays.xml index 32373a882b..e4e32e1a7f 100644 --- a/Source/Android/app/src/main/res/values/arrays.xml +++ b/Source/Android/app/src/main/res/values/arrays.xml @@ -5,32 +5,32 @@ - Interpreter - Cached Interpreter JIT Recompiler + Cached Interpreter + Interpreter - 0 - 5 1 + 5 + 0 - Interpreter - Cached Interpreter JIT ARM64 Recompiler + Cached Interpreter + Interpreter - 0 - 5 4 + 5 + 0 - Interpreter Cached Interpreter + Interpreter - 0 5 + 0 diff --git a/Source/Core/Core/PowerPC/PowerPC.cpp b/Source/Core/Core/PowerPC/PowerPC.cpp index b8a7e94981..e1c9d1a3de 100644 --- a/Source/Core/Core/PowerPC/PowerPC.cpp +++ b/Source/Core/Core/PowerPC/PowerPC.cpp @@ -212,13 +212,13 @@ static void InitializeCPUCore(CPUCore cpu_core) const std::vector& AvailableCPUCores() { static const std::vector cpu_cores = { - CPUCore::Interpreter, - CPUCore::CachedInterpreter, #ifdef _M_X86_64 CPUCore::JIT64, #elif defined(_M_ARM_64) CPUCore::JITARM64, #endif + CPUCore::CachedInterpreter, + CPUCore::Interpreter, }; return cpu_cores;