summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-03-06 20:20:04 +0100
committerGitHub <noreply@github.com>2019-03-06 20:20:04 +0100
commite9b05e86b96e16b3927ba16f6acc62394985e39a (patch)
tree8e2a3b6e9bdce81ddd2c71129bf1e7a87cb3a984
parentMerge pull request #2204 from lioncash/wait-tree (diff)
parenthle/service/audio/audout_u: Correct lack of return in failure case of AppendAudioOutBufferImpl() (diff)
downloadyuzu-e9b05e86b96e16b3927ba16f6acc62394985e39a.tar
yuzu-e9b05e86b96e16b3927ba16f6acc62394985e39a.tar.gz
yuzu-e9b05e86b96e16b3927ba16f6acc62394985e39a.tar.bz2
yuzu-e9b05e86b96e16b3927ba16f6acc62394985e39a.tar.lz
yuzu-e9b05e86b96e16b3927ba16f6acc62394985e39a.tar.xz
yuzu-e9b05e86b96e16b3927ba16f6acc62394985e39a.tar.zst
yuzu-e9b05e86b96e16b3927ba16f6acc62394985e39a.zip
-rw-r--r--src/core/hle/service/audio/audout_u.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/audio/audout_u.cpp b/src/core/hle/service/audio/audout_u.cpp
index 1c04d21cf..bbe813490 100644
--- a/src/core/hle/service/audio/audout_u.cpp
+++ b/src/core/hle/service/audio/audout_u.cpp
@@ -138,6 +138,7 @@ private:
if (!audio_core.QueueBuffer(stream, tag, std::move(samples))) {
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ERR_BUFFER_COUNT_EXCEEDED);
+ return;
}
IPC::ResponseBuilder rb{ctx, 2};