Stub GetAudioRenderersProcessMasterVolume and avoid blowing up the stack inside HDomains Dispose method

This commit is contained in:
gdkchan 2018-03-12 02:07:48 -03:00
parent 8cb23c133b
commit e32f27158f
2 changed files with 11 additions and 3 deletions

View File

@ -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();
} }

View File

@ -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;
}
} }
} }