summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2023-09-19 23:06:49 +0200
committerKelebek1 <eeeedddccc@hotmail.co.uk>2023-09-20 00:10:03 +0200
commit8992a62da4d48b440500d2017594667108633171 (patch)
tree49b57c2ea7e9e7aebde534e844d3aa779f20c862 /src/core/hle/kernel
parentMerge pull request #11542 from t895/touch-offset-fix (diff)
downloadyuzu-8992a62da4d48b440500d2017594667108633171.tar
yuzu-8992a62da4d48b440500d2017594667108633171.tar.gz
yuzu-8992a62da4d48b440500d2017594667108633171.tar.bz2
yuzu-8992a62da4d48b440500d2017594667108633171.tar.lz
yuzu-8992a62da4d48b440500d2017594667108633171.tar.xz
yuzu-8992a62da4d48b440500d2017594667108633171.tar.zst
yuzu-8992a62da4d48b440500d2017594667108633171.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/k_hardware_timer.cpp4
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) {