mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-02-09 19:25:10 +01:00
kern: fix check for thread-is-current in KDebugBase::SetThreadContext
This commit is contained in:
parent
aee89db748
commit
81bf8c577a
@ -469,8 +469,8 @@ namespace ams::kern {
|
||||
for (auto i = 0; i < static_cast<s32>(cpu::NumCores); ++i) {
|
||||
if (thread == Kernel::GetScheduler(i).GetSchedulerCurrentThread()) {
|
||||
current = true;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
/* If the thread is current, retry until it isn't. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user