mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
Stub GetAudioRenderersProcessMasterVolume and avoid blowing up the stack inside HDomains Dispose method
This commit is contained in:
parent
8cb23c133b
commit
e32f27158f
2 changed files with 11 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -15,8 +15,9 @@ namespace Ryujinx.Core.OsHle.IpcServices.Aud
|
|||
{
|
||||
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
||||
{
|
||||
{ 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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue