From 2f33926f64495965135533e6ac865e8ef0ba174e Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 2 Jun 2018 10:08:31 -0700 Subject: [PATCH] Qt: Fix regression when audio thread never starts --- src/platform/qt/Window.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index ea9d61961..a7be7d1e7 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -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() {