diff options
Diffstat (limited to 'src/core/hle')
| -rw-r--r-- | src/core/hle/kernel/k_hardware_timer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_hardware_timer.cpp b/src/core/hle/kernel/k_hardware_timer.cpp index 4dcd53821..8e2e40307 100644 --- a/src/core/hle/kernel/k_hardware_timer.cpp +++ b/src/core/hle/kernel/k_hardware_timer.cpp | |||
| @@ -35,7 +35,9 @@ void KHardwareTimer::DoTask() { | |||
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | // Disable the timer interrupt while we handle this. | 37 | // Disable the timer interrupt while we handle this. |
| 38 | this->DisableInterrupt(); | 38 | // Not necessary due to core timing already having popped this event to call it. |
| 39 | // this->DisableInterrupt(); | ||
| 40 | m_wakeup_time = std::numeric_limits<s64>::max(); | ||
| 39 | 41 | ||
| 40 | if (const s64 next_time = this->DoInterruptTaskImpl(GetTick()); | 42 | if (const s64 next_time = this->DoInterruptTaskImpl(GetTick()); |
| 41 | 0 < next_time && next_time <= m_wakeup_time) { | 43 | 0 < next_time && next_time <= m_wakeup_time) { |