aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Core/OsHle/Kernel/SvcSystem.cs
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2018-06-09 01:15:02 +0100
committergdkchan <gab.dark.100@gmail.com>2018-06-08 21:15:02 -0300
commit6fe51f970501fe732276c17ed0dacb564b92a73d (patch)
tree0c18f8b4422399f90726d93269c62ae7228d6d4c /Ryujinx.Core/OsHle/Kernel/SvcSystem.cs
parent39ebb83453245004fe3d9bd7ede9dc05b94e7e0e (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.cs2
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);