summaryrefslogtreecommitdiff
path: root/src/citra
diff options
context:
space:
mode:
authorGravatar MerryMage2018-01-12 16:06:30 +0000
committerGravatar bunnei2018-01-12 17:48:52 -0500
commitb628192bf27c871af3ecbf8982b4a13a78fd70c4 (patch)
treea5d66996675378584d2324c48c8e3ef4c8f33a74 /src/citra
parentarm_dynarmic: Implement core (diff)
downloadyuzu-b628192bf27c871af3ecbf8982b4a13a78fd70c4.tar.gz
yuzu-b628192bf27c871af3ecbf8982b4a13a78fd70c4.tar.xz
yuzu-b628192bf27c871af3ecbf8982b4a13a78fd70c4.zip
configuration: Add cpu_core configuration option
Diffstat (limited to 'src/citra')
-rw-r--r--src/citra/config.cpp3
-rw-r--r--src/citra/default_ini.h6
2 files changed, 5 insertions, 4 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp
index 432bf2ced..e44931abd 100644
--- a/src/citra/config.cpp
+++ b/src/citra/config.cpp
@@ -82,7 +82,8 @@ void Config::ReadValues() {
82 sdl2_config->Get("Controls", "touch_device", "engine:emu_window"); 82 sdl2_config->Get("Controls", "touch_device", "engine:emu_window");
83 83
84 // Core 84 // Core
85 Settings::values.use_cpu_jit = sdl2_config->GetBoolean("Core", "use_cpu_jit", true); 85 Settings::values.cpu_core =
86 static_cast<Settings::CpuCore>(sdl2_config->GetInteger("Core", "cpu_core", 1));
86 87
87 // Renderer 88 // Renderer
88 Settings::values.use_hw_renderer = sdl2_config->GetBoolean("Renderer", "use_hw_renderer", true); 89 Settings::values.use_hw_renderer = sdl2_config->GetBoolean("Renderer", "use_hw_renderer", true);
diff --git a/src/citra/default_ini.h b/src/citra/default_ini.h
index 783c4a835..b4914d29f 100644
--- a/src/citra/default_ini.h
+++ b/src/citra/default_ini.h
@@ -67,9 +67,9 @@ motion_device=
67touch_device= 67touch_device=
68 68
69[Core] 69[Core]
70# Whether to use the Just-In-Time (JIT) compiler for CPU emulation 70# Which CPU core to use for CPU emulation
71# 0: Interpreter (slow), 1 (default): JIT (fast) 71# 0: Unicorn (slow), 1 (default): Dynarmic (faster)
72use_cpu_jit = 72cpu_core =
73 73
74[Renderer] 74[Renderer]
75# Whether to use software or hardware rendering. 75# Whether to use software or hardware rendering.