diff options
author | bunnei <bunneidev@gmail.com> | 2019-03-06 14:20:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-06 14:20:04 -0500 |
commit | e9b05e86b96e16b3927ba16f6acc62394985e39a (patch) | |
tree | 8e2a3b6e9bdce81ddd2c71129bf1e7a87cb3a984 /src | |
parent | 8ee78521fa43e1098192493c62648360e3987260 (diff) | |
parent | 9ac176d5a32c29dbf84208e7142fb87b012496e5 (diff) |
Merge pull request #2201 from lioncash/audio-retval
hle/service/audio/audout_u: Correct lack of return in failure case of AppendAudioOutBufferImpl()
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/audio/audout_u.cpp | 1 |
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 1c04d21cf0..bbe8134900 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}; |