diff options
| author | riperiperi <rhy3756547@hotmail.com> | 2018-06-09 01:15:02 +0100 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-06-08 21:15:02 -0300 |
| commit | 6fe51f970501fe732276c17ed0dacb564b92a73d (patch) | |
| tree | 0c18f8b4422399f90726d93269c62ae7228d6d4c /Ryujinx.Core/OsHle/Kernel/SvcSystem.cs | |
| parent | 39ebb83453245004fe3d9bd7ede9dc05b94e7e0e (diff) | |
ReadBytes function in AMemory, with cleaner range check. (#136)
Diffstat (limited to 'Ryujinx.Core/OsHle/Kernel/SvcSystem.cs')
| -rw-r--r-- | Ryujinx.Core/OsHle/Kernel/SvcSystem.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Core/OsHle/Kernel/SvcSystem.cs b/Ryujinx.Core/OsHle/Kernel/SvcSystem.cs index 77f35c19..638625d8 100644 --- a/Ryujinx.Core/OsHle/Kernel/SvcSystem.cs +++ b/Ryujinx.Core/OsHle/Kernel/SvcSystem.cs @@ -233,7 +233,7 @@ namespace Ryujinx.Core.OsHle.Kernel { KThread CurrThread = Process.GetThread(ThreadState.Tpidr); - byte[] CmdData = AMemoryHelper.ReadBytes(Memory, CmdPtr, Size); + byte[] CmdData = Memory.ReadBytes(CmdPtr, Size); KSession Session = Process.HandleTable.GetData<KSession>(Handle); |
