diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2018-01-12 17:06:30 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-12 23:48:52 +0100 |
commit | b628192bf27c871af3ecbf8982b4a13a78fd70c4 (patch) | |
tree | a5d66996675378584d2324c48c8e3ef4c8f33a74 /src/citra | |
parent | arm_dynarmic: Implement core (diff) | |
download | yuzu-b628192bf27c871af3ecbf8982b4a13a78fd70c4.tar yuzu-b628192bf27c871af3ecbf8982b4a13a78fd70c4.tar.gz yuzu-b628192bf27c871af3ecbf8982b4a13a78fd70c4.tar.bz2 yuzu-b628192bf27c871af3ecbf8982b4a13a78fd70c4.tar.lz yuzu-b628192bf27c871af3ecbf8982b4a13a78fd70c4.tar.xz yuzu-b628192bf27c871af3ecbf8982b4a13a78fd70c4.tar.zst yuzu-b628192bf27c871af3ecbf8982b4a13a78fd70c4.zip |
Diffstat (limited to 'src/citra')
-rw-r--r-- | src/citra/config.cpp | 3 | ||||
-rw-r--r-- | src/citra/default_ini.h | 6 |
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() { sdl2_config->Get("Controls", "touch_device", "engine:emu_window"); // Core - Settings::values.use_cpu_jit = sdl2_config->GetBoolean("Core", "use_cpu_jit", true); + Settings::values.cpu_core = + static_cast<Settings::CpuCore>(sdl2_config->GetInteger("Core", "cpu_core", 1)); // Renderer 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= touch_device= [Core] -# Whether to use the Just-In-Time (JIT) compiler for CPU emulation -# 0: Interpreter (slow), 1 (default): JIT (fast) -use_cpu_jit = +# Which CPU core to use for CPU emulation +# 0: Unicorn (slow), 1 (default): Dynarmic (faster) +cpu_core = [Renderer] # Whether to use software or hardware rendering. |