mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-02-09 20:28:26 +08:00
configuration: Add cpu_core configuration option
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user