fix that crash
This commit is contained in:
parent
979f1ed615
commit
fc3c7440d1
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue