mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-01 10:05:41 -04:00
Qt: Ignore resume states when "Save state on exit" is unchecked
This commit is contained in:
parent
f3df4f91a2
commit
961afdf765
@ -337,7 +337,7 @@ void MainWindow::onGameListEntryDoubleClicked(const GameListEntry* entry)
|
|||||||
QString path = QString::fromStdString(entry->path);
|
QString path = QString::fromStdString(entry->path);
|
||||||
if (!m_emulation_running)
|
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);
|
m_host_interface->resumeSystemFromState(path, true);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user