mirror of
https://github.com/Ryujinx-NX/Ryujinx.git
synced 2024-11-15 05:27:42 -07:00
Fix inverted low/high mask value on GetThreadCoreMask32 syscall (#2325)
This commit is contained in:
parent
9d7627af64
commit
f6fcef483f
@ -333,8 +333,8 @@ namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall
|
|||||||
{
|
{
|
||||||
KernelResult result = _syscall.GetThreadCoreMask(handle, out preferredCore, out long affinityMask);
|
KernelResult result = _syscall.GetThreadCoreMask(handle, out preferredCore, out long affinityMask);
|
||||||
|
|
||||||
affinityMaskLow = (int)(affinityMask >> 32);
|
affinityMaskLow = (int)(affinityMask & uint.MaxValue);
|
||||||
affinityMaskHigh = (int)(affinityMask & uint.MaxValue);
|
affinityMaskHigh = (int)(affinityMask >> 32);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user