aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Kernel/Process/KHandleTable.cs
diff options
context:
space:
mode:
authorTSRBerry <20988865+TSRBerry@users.noreply.github.com>2023-03-17 12:55:19 +0100
committerGitHub <noreply@github.com>2023-03-17 12:55:19 +0100
commit7870423671cba17c8aad9bb93a67c84bda441366 (patch)
tree6271060483ee90c7088c071be66c572d186d8ed4 /Ryujinx.HLE/HOS/Kernel/Process/KHandleTable.cs
parentb72916fbc15d9f112f5d2944034b38f1fd43e7b5 (diff)
Update syscall capabilites to include SVCs from FW 15.0.0 (#4530)1.1.667
* Add CapabilityType enum * Add SupervisorCallCount * kernel: Add CapabilityExtensions & Change type of capabilities to uint * Remove private setter from Mask arrays * Pass ReadOnlySpan directly & Remove redundant type casts
Diffstat (limited to 'Ryujinx.HLE/HOS/Kernel/Process/KHandleTable.cs')
-rw-r--r--Ryujinx.HLE/HOS/Kernel/Process/KHandleTable.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ryujinx.HLE/HOS/Kernel/Process/KHandleTable.cs b/Ryujinx.HLE/HOS/Kernel/Process/KHandleTable.cs
index c15ebef5..50f04e90 100644
--- a/Ryujinx.HLE/HOS/Kernel/Process/KHandleTable.cs
+++ b/Ryujinx.HLE/HOS/Kernel/Process/KHandleTable.cs
@@ -19,7 +19,7 @@ namespace Ryujinx.HLE.HOS.Kernel.Process
private int _activeSlotsCount;
- private int _size;
+ private uint _size;
private ushort _idCounter;
@@ -28,9 +28,9 @@ namespace Ryujinx.HLE.HOS.Kernel.Process
_context = context;
}
- public Result Initialize(int size)
+ public Result Initialize(uint size)
{
- if ((uint)size > 1024)
+ if (size > 1024)
{
return KernelResult.OutOfMemory;
}