config: Use simplified checkbox (from Citra) for CPU JIT.

This commit is contained in:
bunnei 2018-03-26 23:01:40 -04:00
parent 5ecf152c8e
commit 94f4009c3b
8 changed files with 33 additions and 46 deletions

View file

@ -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 =

View file

@ -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.