mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-19 08:52:25 +00:00
thermosphere: rewrite condition in debugManagerDoPauseCores
This commit is contained in:
parent
914790be01
commit
ebf8053b42
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ static void debugManagerDoPauseCores(u32 coreList)
|
|||
remainingList &= ~readList;
|
||||
} while (!atomic_compare_exchange_weak(&g_debugManager.pausedCoreList, &readList, desiredList));
|
||||
|
||||
if (remainingList != BIT(currentCoreCtx->coreId)) {
|
||||
if (remainingList & ~BIT(currentCoreCtx->coreId)) {
|
||||
// We need to notify other cores...
|
||||
u32 otherCores = remainingList & ~BIT(currentCoreCtx->coreId);
|
||||
barrierInit(&g_debugManager.pauseBarrier, otherCores | BIT(currentCoreCtx->coreId));
|
||||
|
|
Loading…
Reference in a new issue