Kernel/SVC: Support special core values -2 and -3 in svcSetThreadCoreMask.

Also added some proper error handling.
This commit is contained in:
Subv
2018-05-30 12:03:19 -05:00
parent d1f9c750a6
commit 3957b0c34e
2 changed files with 28 additions and 1 deletions

View File

@ -21,7 +21,9 @@ enum {
// Confirmed Switch OS error codes
MisalignedAddress = 102,
InvalidProcessorId = 113,
InvalidHandle = 114,
InvalidCombination = 116,
Timeout = 117,
SynchronizationCanceled = 118,
TooLarge = 119,