mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-07-02 14:20:47 -07:00
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:
@ -22,7 +22,7 @@ namespace Ryujinx.HLE.Loaders.Executables
|
||||
public uint DataSize { get; }
|
||||
public uint BssSize { get; }
|
||||
|
||||
public int[] Capabilities { get; }
|
||||
public uint[] Capabilities { get; }
|
||||
public bool UsesSecureMemory { get; }
|
||||
public bool Is64BitAddressSpace { get; }
|
||||
public bool Is64Bit { get; }
|
||||
@ -57,11 +57,11 @@ namespace Ryujinx.HLE.Loaders.Executables
|
||||
Version = reader.Version;
|
||||
Name = reader.Name.ToString();
|
||||
|
||||
Capabilities = new int[32];
|
||||
Capabilities = new uint[32];
|
||||
|
||||
for (int index = 0; index < Capabilities.Length; index++)
|
||||
{
|
||||
Capabilities[index] = (int)reader.Capabilities[index];
|
||||
Capabilities[index] = reader.Capabilities[index];
|
||||
}
|
||||
|
||||
reader.GetSegmentSize(KipReader.SegmentType.Data, out int uncompressedSize).ThrowIfFailure();
|
||||
|
Reference in New Issue
Block a user