mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-25 15:25:30 +00:00
config: Default CPU core to Unicorn.
This commit is contained in:
parent
941cdae6f0
commit
890bbc0cd3
|
@ -83,7 +83,7 @@ void Config::ReadValues() {
|
||||||
|
|
||||||
// Core
|
// Core
|
||||||
Settings::values.cpu_core =
|
Settings::values.cpu_core =
|
||||||
static_cast<Settings::CpuCore>(sdl2_config->GetInteger("Core", "cpu_core", 1));
|
static_cast<Settings::CpuCore>(sdl2_config->GetInteger("Core", "cpu_core", 0));
|
||||||
|
|
||||||
// Renderer
|
// Renderer
|
||||||
Settings::values.use_hw_renderer = sdl2_config->GetBoolean("Renderer", "use_hw_renderer", true);
|
Settings::values.use_hw_renderer = sdl2_config->GetBoolean("Renderer", "use_hw_renderer", true);
|
||||||
|
|
|
@ -68,7 +68,7 @@ touch_device=
|
||||||
|
|
||||||
[Core]
|
[Core]
|
||||||
# Which CPU core to use for CPU emulation
|
# Which CPU core to use for CPU emulation
|
||||||
# 0: Unicorn (slow), 1 (default): Dynarmic (faster)
|
# 0 (default): Unicorn (slow), 1: Dynarmic (faster)
|
||||||
cpu_core =
|
cpu_core =
|
||||||
|
|
||||||
[Renderer]
|
[Renderer]
|
||||||
|
|
|
@ -68,7 +68,7 @@ void Config::ReadValues() {
|
||||||
|
|
||||||
qt_config->beginGroup("Core");
|
qt_config->beginGroup("Core");
|
||||||
Settings::values.cpu_core =
|
Settings::values.cpu_core =
|
||||||
static_cast<Settings::CpuCore>(qt_config->value("cpu_core", 1).toInt());
|
static_cast<Settings::CpuCore>(qt_config->value("cpu_core", 0).toInt());
|
||||||
qt_config->endGroup();
|
qt_config->endGroup();
|
||||||
|
|
||||||
qt_config->beginGroup("Renderer");
|
qt_config->beginGroup("Renderer");
|
||||||
|
|
Loading…
Reference in a new issue