hle: kernel: Port KAffinityMask from Mesosphere.

This commit is contained in:
bunnei 2020-11-16 21:02:45 -08:00
parent f2f346e110
commit e18ee8d681
7 changed files with 80 additions and 16 deletions

View file

@ -2003,7 +2003,7 @@ static ResultCode GetThreadCoreMask(Core::System& system, Handle thread_handle,
}
*core = thread->GetIdealCore();
*mask = thread->GetAffinityMask();
*mask = thread->GetAffinityMask().GetAffinityMask();
return RESULT_SUCCESS;
}