mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-29 02:51:24 +00:00
maybe fix audio backend not changing post-failure
This commit is contained in:
parent
d0457a2e1b
commit
7599f99ca0
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue