mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-27 13:32:43 +02:00
kern: fix hardware timer task corruption on core migration
This commit is contained in:
parent
6935929c33
commit
fe566cd5f9
@ -115,7 +115,7 @@ namespace ams::kern {
|
||||
}
|
||||
|
||||
static ALWAYS_INLINE KHardwareTimer &GetHardwareTimer() {
|
||||
return GetCoreLocalContext().hardware_timer;
|
||||
return GetCoreLocalContext(GetCurrentCoreId()).hardware_timer;
|
||||
}
|
||||
|
||||
static ALWAYS_INLINE KResourceLimit &GetSystemResourceLimit() {
|
||||
|
Loading…
Reference in New Issue
Block a user