From fc3c7440d1524409700c775baade73be1d6c0fe0 Mon Sep 17 00:00:00 2001 From: Arisotura Date: Fri, 25 Oct 2024 12:33:04 +0200 Subject: [PATCH] fix that crash --- src/frontend/qt_sdl/Window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/qt_sdl/Window.cpp b/src/frontend/qt_sdl/Window.cpp index 08a9474b..47113993 100644 --- a/src/frontend/qt_sdl/Window.cpp +++ b/src/frontend/qt_sdl/Window.cpp @@ -1800,6 +1800,7 @@ void MainWindow::onUpdateAudioVolume(int vol, int dsisync) void MainWindow::onUpdateAudioSettings() { + if (!emuThread->emuIsActive()) return; assert(emuInstance->nds != nullptr); int interp = globalCfg.GetInt("Audio.Interpolation");