audrvUpdate after freeing audio backend

fixes garbage data playing on yuzu after returning to launcher
This commit is contained in:
headshot2017 2024-03-15 19:12:53 -04:00
parent 8d4adefb0e
commit e74023ce66

View File

@ -993,6 +993,7 @@ static void AudioBackend_Free(void) {
for (int i = 0; i < 24; i++) { for (int i = 0; i < 24; i++) {
audrvVoiceStop(&drv, i); audrvVoiceStop(&drv, i);
} }
audrvUpdate(&drv);
} }
#define AUDIO_HAS_BACKEND #define AUDIO_HAS_BACKEND