maybe fix audio backend not changing post-failure

This commit is contained in:
tildearrow 2022-02-06 17:00:01 -05:00
parent d0457a2e1b
commit 7599f99ca0

View file

@ -6144,6 +6144,7 @@ bool DivEngine::initAudioBackend() {
logE("error while initializing audio!\n");
delete output;
output=NULL;
audioEngine=DIV_AUDIO_NULL;
return false;
}
@ -6155,6 +6156,7 @@ bool DivEngine::deinitAudioBackend() {
output->quit();
delete output;
output=NULL;
audioEngine=DIV_AUDIO_NULL;
}
return true;
}