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

Kernel: Correct pending feedback.

This commit is contained in:
Fernando Sahmkow 2020-02-22 11:51:03 -04:00
parent b9472eae44
commit a1bf353780

View file

@ -530,10 +530,11 @@ SchedulerLockAndSleep::SchedulerLockAndSleep(KernelCore& kernel, Handle& event_h
}
SchedulerLockAndSleep::~SchedulerLockAndSleep() {
if (!sleep_cancelled) {
if (sleep_cancelled) {
return;
}
auto& time_manager = kernel.TimeManager();
time_manager.ScheduleTimeEvent(event_handle, time_task, nanoseconds);
}
}
} // namespace Kernel