diff options
Diffstat (limited to 'Ryujinx.Core/OsHle/Svc/SvcSystem.cs')
| -rw-r--r-- | Ryujinx.Core/OsHle/Svc/SvcSystem.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Ryujinx.Core/OsHle/Svc/SvcSystem.cs b/Ryujinx.Core/OsHle/Svc/SvcSystem.cs index 671a32d3..9417473c 100644 --- a/Ryujinx.Core/OsHle/Svc/SvcSystem.cs +++ b/Ryujinx.Core/OsHle/Svc/SvcSystem.cs @@ -118,7 +118,7 @@ namespace Ryujinx.Core.OsHle.Svc Process.Scheduler.Suspend(CurrThread.ProcessorId); - byte[] CmdData = AMemoryHelper.ReadBytes(Memory, CmdPtr, (int)Size); + byte[] CmdData = AMemoryHelper.ReadBytes(Memory, CmdPtr, Size); HSession Session = Process.HandleTable.GetData<HSession>(Handle); @@ -136,7 +136,7 @@ namespace Ryujinx.Core.OsHle.Svc CmdPtr, Handle); - byte[] Response = AMemoryHelper.ReadBytes(Memory, CmdPtr, (int)Size); + byte[] Response = AMemoryHelper.ReadBytes(Memory, CmdPtr, Size); ThreadState.X0 = 0; } @@ -164,7 +164,7 @@ namespace Ryujinx.Core.OsHle.Svc long Position = (long)ThreadState.X0; long Size = (long)ThreadState.X1; - string Str = AMemoryHelper.ReadAsciiString(Memory, Position, (int)Size); + string Str = AMemoryHelper.ReadAsciiString(Memory, Position, Size); Logging.Info($"SvcOutputDebugString: {Str}"); |
