diff --git a/Ryujinx.Core/OsHle/Handles/HDomain.cs b/Ryujinx.Core/OsHle/Handles/HDomain.cs index ac99b03a6b..26c604554f 100644 --- a/Ryujinx.Core/OsHle/Handles/HDomain.cs +++ b/Ryujinx.Core/OsHle/Handles/HDomain.cs @@ -37,7 +37,7 @@ namespace Ryujinx.Core.OsHle.Handles { foreach (object Obj in Objects) { - if (Obj is IDisposable DisposableObj) + if (Obj != this && Obj is IDisposable DisposableObj) { DisposableObj.Dispose(); } diff --git a/Ryujinx.Core/OsHle/Services/Aud/ServiceAudRen.cs b/Ryujinx.Core/OsHle/Services/Aud/ServiceAudRen.cs index eccc699c43..15bda04cc2 100644 --- a/Ryujinx.Core/OsHle/Services/Aud/ServiceAudRen.cs +++ b/Ryujinx.Core/OsHle/Services/Aud/ServiceAudRen.cs @@ -15,8 +15,9 @@ namespace Ryujinx.Core.OsHle.IpcServices.Aud { m_Commands = new Dictionary() { - { 0, OpenAudioRenderer }, - { 1, GetAudioRendererWorkBufferSize }, + { 0, OpenAudioRenderer }, + { 1, GetAudioRendererWorkBufferSize }, + { 2, GetAudioRenderersProcessMasterVolume } }; } @@ -47,5 +48,12 @@ namespace Ryujinx.Core.OsHle.IpcServices.Aud return 0; } + + public long GetAudioRenderersProcessMasterVolume(ServiceCtx Context) + { + Context.ResponseData.Write(0); + + return 0; + } } } \ No newline at end of file