mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-10 21:37:20 +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…
x
Reference in New Issue
Block a user