summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-05 22:55:53 +0100
committerLioncash <mathew1800@gmail.com>2019-03-06 17:44:32 +0100
commit9ac176d5a32c29dbf84208e7142fb87b012496e5 (patch)
treecc6cc0f460075d1547aae7c11dd20f010ced074a /src/core/hle/service
parentMerge pull request #2194 from lioncash/mem (diff)
downloadyuzu-9ac176d5a32c29dbf84208e7142fb87b012496e5.tar
yuzu-9ac176d5a32c29dbf84208e7142fb87b012496e5.tar.gz
yuzu-9ac176d5a32c29dbf84208e7142fb87b012496e5.tar.bz2
yuzu-9ac176d5a32c29dbf84208e7142fb87b012496e5.tar.lz
yuzu-9ac176d5a32c29dbf84208e7142fb87b012496e5.tar.xz
yuzu-9ac176d5a32c29dbf84208e7142fb87b012496e5.tar.zst
yuzu-9ac176d5a32c29dbf84208e7142fb87b012496e5.zip
Diffstat (limited to 'src/core/hle/service')
-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};