mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-31 18:19:57 -06: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