mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-15 07:15:01 +00: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:
commit
e9b05e86b9
|
@ -138,6 +138,7 @@ private:
|
||||||
if (!audio_core.QueueBuffer(stream, tag, std::move(samples))) {
|
if (!audio_core.QueueBuffer(stream, tag, std::move(samples))) {
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
rb.Push(ERR_BUFFER_COUNT_EXCEEDED);
|
rb.Push(ERR_BUFFER_COUNT_EXCEEDED);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
|
|
Loading…
Reference in a new issue