all repos — mgba @ 2f33926f64495965135533e6ac865e8ef0ba174e

mGBA Game Boy Advance Emulator

Qt: Fix regression when audio thread never starts
Vicki Pfau vi@endrift.com
Sat, 02 Jun 2018 10:08:31 -0700
commit

2f33926f64495965135533e6ac865e8ef0ba174e

parent

371836b3782834b7d82a4293a8c5ffc450abbcba

1 files changed, 5 insertions(+), 5 deletions(-)

jump to
M src/platform/qt/Window.cppsrc/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() {