Move WriteBytes to AMemory, implement it with a Marshal copy like ReadBytes, fix regression on address range checking
This commit is contained in:
parent
91420a402c
commit
7f5a8effbb
15 changed files with 73 additions and 77 deletions
|
@ -404,7 +404,7 @@ namespace Ryujinx.Core.Gpu
|
|||
{
|
||||
Position = GetPhysicalAddress(Position);
|
||||
|
||||
AMemoryHelper.WriteBytes(Memory, Position, Data);
|
||||
Memory.WriteBytes(Position, Data);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue