mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Wake good pri threads immediately from audio.
This commit is contained in:
parent
6c4a614205
commit
d8cff4509e
@ -293,6 +293,7 @@ inline void __AudioWakeThreads(AudioChannel &chan, int result, int step) {
|
||||
// DEBUG_LOG(SCEAUDIO, "Woke thread %i for some buffer filling", waitingThread);
|
||||
u32 ret = result == 0 ? __KernelGetWaitValue(waitInfo.threadID, error) : SCE_ERROR_AUDIO_CHANNEL_NOT_RESERVED;
|
||||
__KernelResumeThreadFromWait(waitInfo.threadID, ret);
|
||||
__KernelReSchedule("audio drain");
|
||||
|
||||
chan.waitingThreads.erase(chan.waitingThreads.begin() + w--);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user