diff options
author | Liam <byteslice@airmail.cc> | 2023-12-23 20:06:41 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-12-23 21:36:46 +0100 |
commit | 575db0417278eef0c854900885734fd068b97430 (patch) | |
tree | 6663a52529852ca1279b7461807e3beb8ed312af /src/core/hle/kernel/k_hardware_timer.cpp | |
parent | core_timing: remove user data value (diff) | |
download | yuzu-575db0417278eef0c854900885734fd068b97430.tar yuzu-575db0417278eef0c854900885734fd068b97430.tar.gz yuzu-575db0417278eef0c854900885734fd068b97430.tar.bz2 yuzu-575db0417278eef0c854900885734fd068b97430.tar.lz yuzu-575db0417278eef0c854900885734fd068b97430.tar.xz yuzu-575db0417278eef0c854900885734fd068b97430.tar.zst yuzu-575db0417278eef0c854900885734fd068b97430.zip |
Diffstat (limited to 'src/core/hle/kernel/k_hardware_timer.cpp')
-rw-r--r-- | src/core/hle/kernel/k_hardware_timer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_hardware_timer.cpp b/src/core/hle/kernel/k_hardware_timer.cpp index 2a29a487c..4e947dd6b 100644 --- a/src/core/hle/kernel/k_hardware_timer.cpp +++ b/src/core/hle/kernel/k_hardware_timer.cpp @@ -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(); } |