Qt: Fix regression when audio thread never starts
Vicki Pfau vi@endrift.com
Sat, 02 Jun 2018 10:08:31 -0700
1 files changed,
5 insertions(+),
5 deletions(-)
jump to
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -672,8 +672,6 @@ for (QAction* action : m_gbaActions) {
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 @@ if (isFullScreen()) {
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 @@ });
m_audioChannels->addAction(action); } } - m_display->startDrawing(m_controller); - - reloadAudioDriver(); } void Window::gameStopped() {