mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-22 11:00:53 -05:00
ReadBytes function in AMemory, with cleaner range check. (#136)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user