aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall32.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall32.cs b/Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall32.cs
index b57175a3..97915d14 100644
--- a/Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall32.cs
+++ b/Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall32.cs
@@ -333,8 +333,8 @@ namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall
{
KernelResult result = _syscall.GetThreadCoreMask(handle, out preferredCore, out long affinityMask);
- affinityMaskLow = (int)(affinityMask >> 32);
- affinityMaskHigh = (int)(affinityMask & uint.MaxValue);
+ affinityMaskLow = (int)(affinityMask & uint.MaxValue);
+ affinityMaskHigh = (int)(affinityMask >> 32);
return result;
}