mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-23 12:22:08 +00:00
kern: fix hardware timer task corruption on core migration
This commit is contained in:
parent
840ab0785c
commit
a4d376cc0f
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ namespace ams::kern {
|
||||||
}
|
}
|
||||||
|
|
||||||
static ALWAYS_INLINE KHardwareTimer &GetHardwareTimer() {
|
static ALWAYS_INLINE KHardwareTimer &GetHardwareTimer() {
|
||||||
return GetCoreLocalContext().hardware_timer;
|
return GetCoreLocalContext(GetCurrentCoreId()).hardware_timer;
|
||||||
}
|
}
|
||||||
|
|
||||||
static ALWAYS_INLINE KResourceLimit &GetSystemResourceLimit() {
|
static ALWAYS_INLINE KResourceLimit &GetSystemResourceLimit() {
|
||||||
|
|
Loading…
Reference in a new issue