Qt: Fix loading save state from manual file

This commit is contained in:
Connor McLaughlin 2022-05-26 17:36:05 +10:00 committed by refractionpcsx2
parent 724957fbec
commit 25fa70fe9e
1 changed files with 3 additions and 1 deletions

View File

@ -1893,7 +1893,9 @@ void MainWindow::loadSaveStateFile(const QString& filename, const QString& state
{
if (m_vm_valid)
{
g_emu_thread->loadState(filename);
if (!filename.isEmpty() && m_current_disc_path != filename)
g_emu_thread->changeDisc(m_current_disc_path);
g_emu_thread->loadState(state_filename);
}
else
{