From 2edb8e55825875d5549da25c2ad5c21d83e63e54 Mon Sep 17 00:00:00 2001 From: greggameplayer <33609333+greggameplayer@users.noreply.github.com> Date: Fri, 22 Jun 2018 04:56:01 +0200 Subject: [PATCH] optimizing coding style --- Ryujinx.HLE/OsHle/Services/Aud/IAudioRenderer.cs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Ryujinx.HLE/OsHle/Services/Aud/IAudioRenderer.cs b/Ryujinx.HLE/OsHle/Services/Aud/IAudioRenderer.cs index 61b5b7018..25c5d4462 100644 --- a/Ryujinx.HLE/OsHle/Services/Aud/IAudioRenderer.cs +++ b/Ryujinx.HLE/OsHle/Services/Aud/IAudioRenderer.cs @@ -30,16 +30,12 @@ namespace Ryujinx.HLE.OsHle.Services.Aud public long RequestUpdateAudioRenderer(ServiceCtx Context) { - RequestUpdateAudioRendererMethod(Context, Context.Request.ReceiveBuff[0].Position); - - return 0; + return RequestUpdateAudioRendererMethod(Context, Context.Request.ReceiveBuff[0].Position); } public long RequestUpdateAudioRendererAuto(ServiceCtx Context) { - RequestUpdateAudioRendererMethod(Context, Context.Request.GetBufferType0x21().Position); - - return 0; + return RequestUpdateAudioRendererMethod(Context, Context.Request.GetBufferType0x21().Position); } public void RequestUpdateAudioRendererMethod(ServiceCtx Context, long Position) @@ -62,6 +58,8 @@ namespace Ryujinx.HLE.OsHle.Services.Aud //TODO: We shouldn't be signaling this here. UpdateEvent.WaitEvent.Set(); + + return 0; } public long StartAudioRenderer(ServiceCtx Context)