Qt: More coverity placating

This commit is contained in:
Vicki Pfau 2023-04-05 05:00:16 -07:00
parent a69f95bcb6
commit 03d1ed7778
1 changed files with 5 additions and 0 deletions

View File

@ -548,6 +548,11 @@ void FrameView::newVl() {
m_vl->deinit(m_vl);
}
m_vl = mCoreFindVF(m_currentFrame);
if (!m_vl) {
m_currentFrame->close(m_currentFrame);
m_currentFrame = nullptr;
return;
}
m_vl->init(m_vl);
m_vl->loadROM(m_vl, m_currentFrame);
m_currentFrame = nullptr;