kern: fix same is_current check in GetThreadContext
This commit is contained in:
1 parent
81bf8c577a
commit
fe79bc253a
1 file changed
+1
-1
@@ -422,8 +422,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. */
|
||||
|
||||
Reference in new issue
Block a user