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

kernel: readable_event: Signal only once.

This commit is contained in:
bunnei 2019-11-03 04:25:41 -05:00
parent b0ab803ce8
commit ece5287843

View file

@ -23,8 +23,10 @@ void ReadableEvent::Acquire(Thread* thread) {
}
void ReadableEvent::Signal() {
if (!signaled) {
signaled = true;
WakeupAllWaitingThreads();
};
}
void ReadableEvent::Clear() {