config: Default CPU core to Unicorn.
This commit is contained in:
		@@ -83,7 +83,7 @@ void Config::ReadValues() {
 | 
			
		||||
 | 
			
		||||
    // 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
 | 
			
		||||
    Settings::values.use_hw_renderer = sdl2_config->GetBoolean("Renderer", "use_hw_renderer", true);
 | 
			
		||||
 
 | 
			
		||||
@@ -68,7 +68,7 @@ touch_device=
 | 
			
		||||
 | 
			
		||||
[Core]
 | 
			
		||||
# Which CPU core to use for CPU emulation
 | 
			
		||||
# 0: Unicorn (slow), 1 (default): Dynarmic (faster)
 | 
			
		||||
# 0 (default): Unicorn (slow), 1: Dynarmic (faster)
 | 
			
		||||
cpu_core =
 | 
			
		||||
 | 
			
		||||
[Renderer]
 | 
			
		||||
 
 | 
			
		||||
@@ -68,7 +68,7 @@ void Config::ReadValues() {
 | 
			
		||||
 | 
			
		||||
    qt_config->beginGroup("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->beginGroup("Renderer");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user