mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
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
Block a user