optimizing coding style

This commit is contained in:
greggameplayer 2018-06-22 04:56:01 +02:00 committed by GitHub
parent ad05840327
commit 2edb8e5582
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,16 +30,12 @@ namespace Ryujinx.HLE.OsHle.Services.Aud
public long RequestUpdateAudioRenderer(ServiceCtx Context) public long RequestUpdateAudioRenderer(ServiceCtx Context)
{ {
RequestUpdateAudioRendererMethod(Context, Context.Request.ReceiveBuff[0].Position); return RequestUpdateAudioRendererMethod(Context, Context.Request.ReceiveBuff[0].Position);
return 0;
} }
public long RequestUpdateAudioRendererAuto(ServiceCtx Context) public long RequestUpdateAudioRendererAuto(ServiceCtx Context)
{ {
RequestUpdateAudioRendererMethod(Context, Context.Request.GetBufferType0x21().Position); return RequestUpdateAudioRendererMethod(Context, Context.Request.GetBufferType0x21().Position);
return 0;
} }
public void RequestUpdateAudioRendererMethod(ServiceCtx Context, long 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. //TODO: We shouldn't be signaling this here.
UpdateEvent.WaitEvent.Set(); UpdateEvent.WaitEvent.Set();
return 0;
} }
public long StartAudioRenderer(ServiceCtx Context) public long StartAudioRenderer(ServiceCtx Context)