mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix race condition in AssetView
This commit is contained in:
parent
1ab6d36fa2
commit
bb1965a8d0
|
@ -24,7 +24,7 @@ AssetView::AssetView(GameController* controller, QWidget* parent)
|
|||
}
|
||||
|
||||
void AssetView::updateTiles(bool force) {
|
||||
if (!m_controller->thread() || !m_controller->thread()->core) {
|
||||
if (!m_controller->isLoaded()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue