From 9ef3973b4910266f1eb88859c4fe65911b2fd446 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 30 Jun 2019 23:09:07 -0700 Subject: [PATCH] Audio: Correct sceAudioChRelease return value. --- Core/HLE/sceAudio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/HLE/sceAudio.cpp b/Core/HLE/sceAudio.cpp index 905c5a60e3..2a5465f371 100644 --- a/Core/HLE/sceAudio.cpp +++ b/Core/HLE/sceAudio.cpp @@ -248,10 +248,10 @@ static u32 sceAudioChRelease(u32 chan) { ERROR_LOG(SCEAUDIO, "sceAudioChRelease(%i) - channel not reserved", chan); return SCE_ERROR_AUDIO_CHANNEL_NOT_RESERVED; } - DEBUG_LOG(SCEAUDIO, "sceAudioChRelease(%i)", chan); + // TODO: Does this error if busy? chans[chan].reset(); chans[chan].reserved = false; - return 1; + return hleLogSuccessI(SCEAUDIO, 0); } static u32 sceAudioSetChannelDataLen(u32 chan, u32 len) {