mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Audio: Correct sceAudioChRelease return value.
This commit is contained in:
parent
7d2b332b2d
commit
9ef3973b49
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue