mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-24 03:06:17 +00:00
kern: fix same is_current check in GetThreadContext
This commit is contained in:
parent
81bf8c577a
commit
fe79bc253a
1 changed files with 1 additions and 1 deletions
|
@ -422,9 +422,9 @@ namespace ams::kern {
|
|||
for (auto i = 0; i < static_cast<s32>(cpu::NumCores); ++i) {
|
||||
if (thread == Kernel::GetScheduler(i).GetSchedulerCurrentThread()) {
|
||||
current = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* If the thread is current, retry until it isn't. */
|
||||
if (current) {
|
||||
|
|
Loading…
Reference in a new issue