mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-26 13:52:22 -05:00
Move WriteBytes to AMemory, implement it with a Marshal copy like ReadBytes, fix regression on address range checking
This commit is contained in:
@@ -404,7 +404,7 @@ namespace Ryujinx.Core.Gpu
|
||||
{
|
||||
Position = GetPhysicalAddress(Position);
|
||||
|
||||
AMemoryHelper.WriteBytes(Memory, Position, Data);
|
||||
Memory.WriteBytes(Position, Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user