fix that crash

This commit is contained in:
Arisotura 2024-10-25 12:33:04 +02:00
parent 979f1ed615
commit fc3c7440d1
1 changed files with 1 additions and 0 deletions

View File

@ -1800,6 +1800,7 @@ void MainWindow::onUpdateAudioVolume(int vol, int dsisync)
void MainWindow::onUpdateAudioSettings() void MainWindow::onUpdateAudioSettings()
{ {
if (!emuThread->emuIsActive()) return;
assert(emuInstance->nds != nullptr); assert(emuInstance->nds != nullptr);
int interp = globalCfg.GetInt("Audio.Interpolation"); int interp = globalCfg.GetInt("Audio.Interpolation");