mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-21 16:57:54 +00:00
core_timing: use static typing for no-wait unschedule
This commit is contained in:
parent
b9545c5a0e
commit
468ef514f1
3 changed files with 12 additions and 8 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue