configuration: Add cpu_core configuration option
This commit is contained in:
parent
d2fbc78320
commit
b628192bf2
8 changed files with 40 additions and 16 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue