mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-18 06:25:37 +00:00
Qt: Fix switching CPU execution mode in debug menu
This commit is contained in:
parent
3e16dbfc37
commit
016eb7c548
|
@ -1426,7 +1426,7 @@ void MainWindow::setupAdditionalUi()
|
|||
qApp->translate("CPUExecutionMode", Settings::GetCPUExecutionModeDisplayName(mode)));
|
||||
action->setCheckable(true);
|
||||
connect(action, &QAction::triggered, [this, mode]() {
|
||||
Host::SetBaseBoolSettingValue("CPU", "ExecutionMode", Settings::GetCPUExecutionModeName(mode));
|
||||
Host::SetBaseStringSettingValue("CPU", "ExecutionMode", Settings::GetCPUExecutionModeName(mode));
|
||||
g_emu_thread->applySettings();
|
||||
updateDebugMenuCPUExecutionMode();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue