wiiu: close audio device

This commit is contained in:
GaryOderNichts 2021-01-31 23:37:39 +01:00
parent 6d2e2bd839
commit 8cdd6a15f4

View File

@ -267,11 +267,9 @@ release_existing()
alcSuspendContext(ALContext); alcSuspendContext(ALContext);
alcDestroyContext(ALContext); alcDestroyContext(ALContext);
} }
#ifndef WIIU_CHANNEL
// Quitting AX seems to softlock as a channel
if ( ALDevice ) if ( ALDevice )
alcCloseDevice(ALDevice); alcCloseDevice(ALDevice);
#endif
ALDevice = NULL; ALDevice = NULL;
ALContext = NULL; ALContext = NULL;