From 961afdf76547d0072eb1ce1cdeade8d51ba3212a Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 23 Jul 2020 02:44:06 +1000 Subject: [PATCH] Qt: Ignore resume states when "Save state on exit" is unchecked --- src/duckstation-qt/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/duckstation-qt/mainwindow.cpp b/src/duckstation-qt/mainwindow.cpp index 1570af2d9..040e69fa6 100644 --- a/src/duckstation-qt/mainwindow.cpp +++ b/src/duckstation-qt/mainwindow.cpp @@ -337,7 +337,7 @@ void MainWindow::onGameListEntryDoubleClicked(const GameListEntry* entry) QString path = QString::fromStdString(entry->path); if (!m_emulation_running) { - if (!entry->code.empty() && m_host_interface->GetBoolSettingValue("General", "SaveStateOnExit", true)) + if (!entry->code.empty() && m_host_interface->GetBoolSettingValue("Main", "SaveStateOnExit", true)) { m_host_interface->resumeSystemFromState(path, true); }