Qt: Fix regression when audio thread never starts

This commit is contained in:
Vicki Pfau 2018-06-02 10:08:31 -07:00
parent 371836b378
commit 2f33926f64
1 changed files with 5 additions and 5 deletions

View File

@ -672,8 +672,6 @@ void Window::gameStarted() {
action->setDisabled(m_controller->platform() != PLATFORM_GBA);
}
#endif
multiplayerChanged();
updateTitle();
QSize size = m_controller->screenDimensions();
m_screenWidget->setDimensions(size.width(), size.height());
m_config->updateOption("lockIntegerScaling");
@ -689,6 +687,11 @@ void Window::gameStarted() {
menuBar()->hide();
}
#endif
m_display->startDrawing(m_controller);
reloadAudioDriver();
multiplayerChanged();
updateTitle();
m_hitUnimplementedBiosCall = false;
if (m_config->getOption("showFps", "1").toInt()) {
@ -731,9 +734,6 @@ void Window::gameStarted() {
m_audioChannels->addAction(action);
}
}
m_display->startDrawing(m_controller);
reloadAudioDriver();
}
void Window::gameStopped() {