mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-23 17:15:43 -04:00
Qt: Don't resume when booting without game code
This commit is contained in:
parent
dcc9da3f5e
commit
6456c5d63d
@ -340,7 +340,7 @@ void MainWindow::connectSignals()
|
||||
QString path = QString::fromStdString(entry->path);
|
||||
if (!m_emulation_running)
|
||||
{
|
||||
if (m_host_interface->getSettingValue("General/SaveStateOnExit", true).toBool())
|
||||
if (!entry->code.empty() && m_host_interface->getSettingValue("General/SaveStateOnExit", true).toBool())
|
||||
m_host_interface->resumeSystemFromState(path, true);
|
||||
else
|
||||
m_host_interface->bootSystemFromFile(path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user