mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-02-17 03:15:39 +00:00
Qt: Update display after loading state
Fixes display not updating after loading state while paused.
This commit is contained in:
parent
2768c2c91d
commit
34c125050e
|
@ -960,6 +960,8 @@ void QtHostInterface::loadState(const QString& filename)
|
|||
}
|
||||
|
||||
LoadState(filename.toStdString().c_str());
|
||||
if (System::IsValid())
|
||||
renderDisplay();
|
||||
}
|
||||
|
||||
void QtHostInterface::loadState(bool global, qint32 slot)
|
||||
|
@ -971,6 +973,8 @@ void QtHostInterface::loadState(bool global, qint32 slot)
|
|||
}
|
||||
|
||||
LoadState(global, slot);
|
||||
if (System::IsValid())
|
||||
renderDisplay();
|
||||
}
|
||||
|
||||
void QtHostInterface::saveState(bool global, qint32 slot, bool block_until_done /* = false */)
|
||||
|
|
Loading…
Reference in a new issue