From dead89576e0fc8703398f82de1697bec132f0267 Mon Sep 17 00:00:00 2001 From: Ac_K Date: Thu, 14 Nov 2019 10:06:28 +0100 Subject: [PATCH] Fix GetAudioDeviceServiceWithRevisionInfo logging (#822) * Fix GetAudioDeviceServiceWithRevisionInfo logging `revisionInfo` and `appletResourceUserId` were read in the wrong order. * Fix comment --- Ryujinx.HLE/HOS/Services/Audio/IAudioRendererManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ryujinx.HLE/HOS/Services/Audio/IAudioRendererManager.cs b/Ryujinx.HLE/HOS/Services/Audio/IAudioRendererManager.cs index 563ba7e1..5ca96855 100644 --- a/Ryujinx.HLE/HOS/Services/Audio/IAudioRendererManager.cs +++ b/Ryujinx.HLE/HOS/Services/Audio/IAudioRendererManager.cs @@ -134,11 +134,11 @@ namespace Ryujinx.HLE.HOS.Services.Audio } [Command(4)] // 4.0.0+ - // GetAudioDeviceServiceWithRevisionInfo(nn::applet::AppletResourceUserId, u32) -> object + // GetAudioDeviceServiceWithRevisionInfo(u32 revision_info, nn::applet::AppletResourceUserId) -> object public ResultCode GetAudioDeviceServiceWithRevisionInfo(ServiceCtx context) { - long appletResourceUserId = context.RequestData.ReadInt64(); int revisionInfo = context.RequestData.ReadInt32(); + long appletResourceUserId = context.RequestData.ReadInt64(); Logger.PrintStub(LogClass.ServiceAudio, new { appletResourceUserId, revisionInfo });