Update syscall capabilites to include SVCs from FW 15.0.0 (#4530)
* 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
This commit is contained in:
parent
b72916fbc1
commit
7870423671
13 changed files with 128 additions and 75 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue