From 8cdd6a15f41f3dd73f107bc8997edb78f88717f5 Mon Sep 17 00:00:00 2001 From: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com> Date: Sun, 31 Jan 2021 23:37:39 +0100 Subject: [PATCH] wiiu: close audio device --- src/audio/sampman_oal.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/audio/sampman_oal.cpp b/src/audio/sampman_oal.cpp index 8a500739..c241dfeb 100644 --- a/src/audio/sampman_oal.cpp +++ b/src/audio/sampman_oal.cpp @@ -267,12 +267,10 @@ release_existing() alcSuspendContext(ALContext); alcDestroyContext(ALContext); } -#ifndef WIIU_CHANNEL - // Quitting AX seems to softlock as a channel + if ( ALDevice ) alcCloseDevice(ALDevice); -#endif - + ALDevice = NULL; ALContext = NULL;