core_timing: use static typing for no-wait unschedule

This commit is contained in:
Liam 2023-12-23 14:06:41 -05:00
parent f34d3d7e84
commit 575db04172
3 changed files with 12 additions and 8 deletions

View file

@ -61,7 +61,8 @@ void KHardwareTimer::EnableInterrupt(s64 wakeup_time) {
}
void KHardwareTimer::DisableInterrupt() {
m_kernel.System().CoreTiming().UnscheduleEventWithoutWait(m_event_type);
m_kernel.System().CoreTiming().UnscheduleEvent(m_event_type,
Core::Timing::UnscheduleEventType::NoWait);
m_wakeup_time = std::numeric_limits<s64>::max();
}