mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-23 04:35:46 +00: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)
|
foreach (object Obj in Objects)
|
||||||
{
|
{
|
||||||
if (Obj is IDisposable DisposableObj)
|
if (Obj != this && Obj is IDisposable DisposableObj)
|
||||||
{
|
{
|
||||||
DisposableObj.Dispose();
|
DisposableObj.Dispose();
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,6 +17,7 @@ namespace Ryujinx.Core.OsHle.IpcServices.Aud
|
||||||
{
|
{
|
||||||
{ 0, OpenAudioRenderer },
|
{ 0, OpenAudioRenderer },
|
||||||
{ 1, GetAudioRendererWorkBufferSize },
|
{ 1, GetAudioRendererWorkBufferSize },
|
||||||
|
{ 2, GetAudioRenderersProcessMasterVolume }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,5 +48,12 @@ namespace Ryujinx.Core.OsHle.IpcServices.Aud
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public long GetAudioRenderersProcessMasterVolume(ServiceCtx Context)
|
||||||
|
{
|
||||||
|
Context.ResponseData.Write(0);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue