2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #2201 from lioncash/audio-retval

hle/service/audio/audout_u: Correct lack of return in failure case of AppendAudioOutBufferImpl()
This commit is contained in:
bunnei 2019-03-06 14:20:04 -05:00 committed by GitHub
commit e9b05e86b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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};