mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-30 04:16:25 +02:00
safely close audio on game exit
This commit is contained in:
parent
d25e5cefd8
commit
6ce263a15a
4 changed files with 117 additions and 91 deletions
|
@ -72,8 +72,6 @@ namespace LibRyujinx
|
|||
|
||||
var init = Initialize(path, enableDebugLogs);
|
||||
|
||||
// AudioDriver = new OboeHardwareDeviceDriver();
|
||||
|
||||
_surfaceEvent?.Set();
|
||||
|
||||
_surfaceEvent = new ManualResetEvent(false);
|
||||
|
@ -104,6 +102,7 @@ namespace LibRyujinx
|
|||
JStringLocalRef timeZone,
|
||||
JBoolean ignoreMissingServices)
|
||||
{
|
||||
AudioDriver = new OboeHardwareDeviceDriver();
|
||||
return InitializeDevice(isHostMapped,
|
||||
useNce,
|
||||
(SystemLanguage)(int)systemLanguage,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue