summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-05-11 18:59:23 +0200
committerGitHub <noreply@github.com>2018-05-11 18:59:23 +0200
commit1b5c02fc37206bbd33715d2dde6258c3f835581c (patch)
tree1c33c66e734ff55228e4293cd2720070cd467080 /src/yuzu_cmd
parentMerge pull request #439 from ogniK5377/GetTPCMasks (diff)
parentcore: Add several missing docstrings. (diff)
downloadyuzu-1b5c02fc37206bbd33715d2dde6258c3f835581c.tar
yuzu-1b5c02fc37206bbd33715d2dde6258c3f835581c.tar.gz
yuzu-1b5c02fc37206bbd33715d2dde6258c3f835581c.tar.bz2
yuzu-1b5c02fc37206bbd33715d2dde6258c3f835581c.tar.lz
yuzu-1b5c02fc37206bbd33715d2dde6258c3f835581c.tar.xz
yuzu-1b5c02fc37206bbd33715d2dde6258c3f835581c.tar.zst
yuzu-1b5c02fc37206bbd33715d2dde6258c3f835581c.zip
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/config.cpp1
-rw-r--r--src/yuzu_cmd/default_ini.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index 675f9cafa..ee6e4d658 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -91,6 +91,7 @@ void Config::ReadValues() {
// Core
Settings::values.use_cpu_jit = sdl2_config->GetBoolean("Core", "use_cpu_jit", true);
+ Settings::values.use_multi_core = sdl2_config->GetBoolean("Core", "use_multi_core", false);
// Renderer
Settings::values.resolution_factor =
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h
index 02254403d..1c438c3f5 100644
--- a/src/yuzu_cmd/default_ini.h
+++ b/src/yuzu_cmd/default_ini.h
@@ -80,6 +80,10 @@ touch_device=
# 0: Interpreter (slow), 1 (default): JIT (fast)
use_cpu_jit =
+# Whether to use multi-core for CPU emulation
+# 0 (default): Disabled, 1: Enabled
+use_multi_core=
+
[Renderer]
# Whether to use software or hardware rendering.
# 0: Software, 1 (default): Hardware