summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-27 05:01:40 +0200
committerbunnei <bunneidev@gmail.com>2018-03-27 05:02:37 +0200
commit94f4009c3be4c7f69eda8af1cb0139dccd5bffa5 (patch)
tree170c0dad6412df2d55594593de65460ed56b5c45 /src/yuzu_cmd
parentconfig: Rename is_docked to use_docked_mode to be consistent with other config bools. (diff)
downloadyuzu-94f4009c3be4c7f69eda8af1cb0139dccd5bffa5.tar
yuzu-94f4009c3be4c7f69eda8af1cb0139dccd5bffa5.tar.gz
yuzu-94f4009c3be4c7f69eda8af1cb0139dccd5bffa5.tar.bz2
yuzu-94f4009c3be4c7f69eda8af1cb0139dccd5bffa5.tar.lz
yuzu-94f4009c3be4c7f69eda8af1cb0139dccd5bffa5.tar.xz
yuzu-94f4009c3be4c7f69eda8af1cb0139dccd5bffa5.tar.zst
yuzu-94f4009c3be4c7f69eda8af1cb0139dccd5bffa5.zip
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/config.cpp3
-rw-r--r--src/yuzu_cmd/default_ini.h6
2 files changed, 4 insertions, 5 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index b09e9fc0b..8b479bc6d 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -90,8 +90,7 @@ void Config::ReadValues() {
sdl2_config->Get("Controls", "touch_device", "engine:emu_window");
// Core
- Settings::values.cpu_core =
- static_cast<Settings::CpuCore>(sdl2_config->GetInteger("Core", "cpu_core", 1));
+ Settings::values.use_cpu_jit = sdl2_config->GetBoolean("Core", "use_cpu_jit", true);
// Renderer
Settings::values.resolution_factor =
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h
index c42aba6a4..cf157bf27 100644
--- a/src/yuzu_cmd/default_ini.h
+++ b/src/yuzu_cmd/default_ini.h
@@ -76,9 +76,9 @@ motion_device=
touch_device=
[Core]
-# Which CPU core to use for CPU emulation
-# 0: Unicorn (slow), 1 (default): Dynarmic (faster)
-cpu_core =
+# Whether to use the Just-In-Time (JIT) compiler for CPU emulation
+# 0: Interpreter (slow), 1 (default): JIT (fast)
+use_cpu_jit =
[Renderer]
# Whether to use software or hardware rendering.