summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-19 02:45:02 -0400
committerLioncash <mathew1800@gmail.com>2019-07-19 06:57:31 -0400
commit7653e4babc98da1e4c50301263e627b35b7bd2ba (patch)
tree01539b48b0a51abf3a7019f47623fb3f33a2955a /src
parent6ecbc6c557e49d2531892b6d40c298c7d4a6f63c (diff)
service/audren_u: Remove unnecessary return value from GetActiveAudioDeviceName()
This service function only ever returns a result and nothing more.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/audio/audren_u.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp
index 8b12b82017..9460c283dd 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<u32>(1);
}
void QueryAudioDeviceSystemEvent(Kernel::HLERequestContext& ctx) {