Permalink
Browse files

Qt: Fix regression when audio thread never starts

  • Loading branch information...
endrift committed Jun 2, 2018
1 parent 371836b commit 2f33926f64495965135533e6ac865e8ef0ba174e
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/platform/qt/Window.cpp
View
@@ -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() {

0 comments on commit 2f33926

Please sign in to comment.