summaryrefslogtreecommitdiffstats
path: root/src/core/core_cpu.cpp
diff options
context:
space:
mode:
authorfearlessTobi <thm.frey@gmail.com>2019-07-04 14:48:08 +0200
committerfearlessTobi <thm.frey@gmail.com>2019-07-04 14:48:08 +0200
commit447bdac298c8a4d71b95996ba44efa9a5fd39e84 (patch)
tree7958491f46776eedc810bb65d76ca1a31232e7d3 /src/core/core_cpu.cpp
parentMerge pull request #2604 from ogniK5377/INotificationService (diff)
downloadyuzu-447bdac298c8a4d71b95996ba44efa9a5fd39e84.tar
yuzu-447bdac298c8a4d71b95996ba44efa9a5fd39e84.tar.gz
yuzu-447bdac298c8a4d71b95996ba44efa9a5fd39e84.tar.bz2
yuzu-447bdac298c8a4d71b95996ba44efa9a5fd39e84.tar.lz
yuzu-447bdac298c8a4d71b95996ba44efa9a5fd39e84.tar.xz
yuzu-447bdac298c8a4d71b95996ba44efa9a5fd39e84.tar.zst
yuzu-447bdac298c8a4d71b95996ba44efa9a5fd39e84.zip
Diffstat (limited to '')
-rw-r--r--src/core/core_cpu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core_cpu.cpp b/src/core/core_cpu.cpp
index ba63c3e61..99b7d387d 100644
--- a/src/core/core_cpu.cpp
+++ b/src/core/core_cpu.cpp
@@ -53,7 +53,7 @@ bool CpuBarrier::Rendezvous() {
Cpu::Cpu(System& system, ExclusiveMonitor& exclusive_monitor, CpuBarrier& cpu_barrier,
std::size_t core_index)
: cpu_barrier{cpu_barrier}, core_timing{system.CoreTiming()}, core_index{core_index} {
- if (Settings::values.use_cpu_jit) {
+ if (Settings::values.cpu_jit_enabled) {
#ifdef ARCHITECTURE_x86_64
arm_interface = std::make_unique<ARM_Dynarmic>(system, exclusive_monitor, core_index);
#else
@@ -70,7 +70,7 @@ Cpu::Cpu(System& system, ExclusiveMonitor& exclusive_monitor, CpuBarrier& cpu_ba
Cpu::~Cpu() = default;
std::unique_ptr<ExclusiveMonitor> Cpu::MakeExclusiveMonitor(std::size_t num_cores) {
- if (Settings::values.use_cpu_jit) {
+ if (Settings::values.cpu_jit_enabled) {
#ifdef ARCHITECTURE_x86_64
return std::make_unique<DynarmicExclusiveMonitor>(num_cores);
#else