ReadBytes function in AMemory, with cleaner range check. (#136)
This commit is contained in:
parent
39ebb83453
commit
6fe51f9705
12 changed files with 46 additions and 47 deletions
|
@ -330,7 +330,7 @@ namespace Ryujinx.Core.Gpu
|
|||
{
|
||||
Position = GetPhysicalAddress(Position);
|
||||
|
||||
return AMemoryHelper.ReadBytes(Memory, Position, Size);
|
||||
return Memory.ReadBytes(Position, Size);
|
||||
}
|
||||
|
||||
public void WriteByte(long Position, byte Value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue