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