Try to fix the test difference (basically by replicating an old misfeature of headless...)

This commit is contained in:
Henrik Rydgård
2026-08-11 22:36:47 +02:00
parent 2d0e54f422
commit e062c90bf7
3 changed files with 17 additions and 20 deletions
+3 -3
View File
@@ -479,6 +479,9 @@ void CommandLineOptions::ApplyToConfig() const {
g_Config.iGPUBackend = (int)gpuBackend.value();
g_Config.DoNotSaveSetting(&g_Config.iGPUBackend);
}
if (cpuCore.has_value()) {
g_Config.iCpuCore = (int)cpuCore.value();
}
if (softwareRendering.has_value()) {
g_Config.bSoftwareRendering = softwareRendering.value();
g_Config.DoNotSaveSetting(&g_Config.bSoftwareRendering);
@@ -491,9 +494,6 @@ void CommandLineOptions::ApplyToConfig() const {
g_Config.bAutoRun = false;
g_Config.bSaveSettings = false;
}
if (cpuCore.has_value()) {
g_Config.iCpuCore = (int)cpuCore.value();
}
if (escapeExit.has_value()) {
g_Config.bPauseExitsEmulator = escapeExit.value();
}