summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
authorGravatar Liam2023-12-23 14:06:41 -0500
committerGravatar Liam2023-12-23 15:36:46 -0500
commit575db0417278eef0c854900885734fd068b97430 (patch)
tree6663a52529852ca1279b7461807e3beb8ed312af /src/core/hle
parentcore_timing: remove user data value (diff)
downloadyuzu-575db0417278eef0c854900885734fd068b97430.tar.gz
yuzu-575db0417278eef0c854900885734fd068b97430.tar.xz
yuzu-575db0417278eef0c854900885734fd068b97430.zip
core_timing: use static typing for no-wait unschedule
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/k_hardware_timer.cpp3
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) {
61} 61}
62 62
63void KHardwareTimer::DisableInterrupt() { 63void KHardwareTimer::DisableInterrupt() {
64 m_kernel.System().CoreTiming().UnscheduleEventWithoutWait(m_event_type); 64 m_kernel.System().CoreTiming().UnscheduleEvent(m_event_type,
65 Core::Timing::UnscheduleEventType::NoWait);
65 m_wakeup_time = std::numeric_limits<s64>::max(); 66 m_wakeup_time = std::numeric_limits<s64>::max();
66} 67}
67 68