From 7653e4babc98da1e4c50301263e627b35b7bd2ba Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 19 Jul 2019 02:45:02 -0400 Subject: service/audren_u: Remove unnecessary return value from GetActiveAudioDeviceName() This service function only ever returns a result and nothing more. --- src/core/hle/service/audio/audren_u.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp index 8b12b8201..9460c283d 100644 --- a/src/core/hle/service/audio/audren_u.cpp +++ b/src/core/hle/service/audio/audren_u.cpp @@ -242,9 +242,8 @@ private: ctx.WriteBuffer(out_device_name); - IPC::ResponseBuilder rb{ctx, 3}; + IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); - rb.Push(1); } void QueryAudioDeviceSystemEvent(Kernel::HLERequestContext& ctx) { -- cgit v1.2.3