Qt: Update display after loading state

Fixes display not updating after loading state while paused.
This commit is contained in:
Connor McLaughlin 2020-08-22 18:16:46 +10:00
parent 2768c2c91d
commit 34c125050e

View file

@ -960,6 +960,8 @@ void QtHostInterface::loadState(const QString& filename)
} }
LoadState(filename.toStdString().c_str()); LoadState(filename.toStdString().c_str());
if (System::IsValid())
renderDisplay();
} }
void QtHostInterface::loadState(bool global, qint32 slot) void QtHostInterface::loadState(bool global, qint32 slot)
@ -971,6 +973,8 @@ void QtHostInterface::loadState(bool global, qint32 slot)
} }
LoadState(global, slot); LoadState(global, slot);
if (System::IsValid())
renderDisplay();
} }
void QtHostInterface::saveState(bool global, qint32 slot, bool block_until_done /* = false */) void QtHostInterface::saveState(bool global, qint32 slot, bool block_until_done /* = false */)