diff options
author | Fernando S <fsahmkow27@gmail.com> | 2023-09-29 13:36:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-29 13:36:57 +0200 |
commit | d6b3e7f195dcf9a154f4e1ff84c6a1b46ad5bdfc (patch) | |
tree | 936eb95eb694f525ba7daaabc89404fc4a5ea557 /src/core/hle | |
parent | Merge pull request #11622 from liamwhite/qcr-reg1 (diff) | |
parent | Reduce core timing mutex contention (diff) | |
download | yuzu-d6b3e7f195dcf9a154f4e1ff84c6a1b46ad5bdfc.tar yuzu-d6b3e7f195dcf9a154f4e1ff84c6a1b46ad5bdfc.tar.gz yuzu-d6b3e7f195dcf9a154f4e1ff84c6a1b46ad5bdfc.tar.bz2 yuzu-d6b3e7f195dcf9a154f4e1ff84c6a1b46ad5bdfc.tar.lz yuzu-d6b3e7f195dcf9a154f4e1ff84c6a1b46ad5bdfc.tar.xz yuzu-d6b3e7f195dcf9a154f4e1ff84c6a1b46ad5bdfc.tar.zst yuzu-d6b3e7f195dcf9a154f4e1ff84c6a1b46ad5bdfc.zip |
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() { } // Disable the timer interrupt while we handle this. - this->DisableInterrupt(); + // Not necessary due to core timing already having popped this event to call it. + // this->DisableInterrupt(); + m_wakeup_time = std::numeric_limits<s64>::max(); if (const s64 next_time = this->DoInterruptTaskImpl(GetTick()); 0 < next_time && next_time <= m_wakeup_time) { |