From 111534a74e77664c2ab64c23e74d2173d6029b01 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sat, 25 Jul 2020 03:39:45 -0300 Subject: Remove GPU MemoryAccessor (#1423) * Remove GPU MemoryAccessor * Update outdated XML doc * Update more outdated stuff --- Ryujinx.Graphics.Gpu/Engine/GPFifo/GPFifoClass.cs | 6 +++--- Ryujinx.Graphics.Gpu/Engine/GPFifo/GPFifoDevice.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Ryujinx.Graphics.Gpu/Engine/GPFifo') diff --git a/Ryujinx.Graphics.Gpu/Engine/GPFifo/GPFifoClass.cs b/Ryujinx.Graphics.Gpu/Engine/GPFifo/GPFifoClass.cs index ec2e4bdc..958253ec 100644 --- a/Ryujinx.Graphics.Gpu/Engine/GPFifo/GPFifoClass.cs +++ b/Ryujinx.Graphics.Gpu/Engine/GPFifo/GPFifoClass.cs @@ -80,13 +80,13 @@ namespace Ryujinx.Graphics.Gpu.Engine.GPFifo // TODO: Acquire operations (Wait), interrupts for invalid combinations. if (operation == SemaphoredOperation.Release) { - _context.MemoryAccessor.Write(address, value); + _context.MemoryManager.Write(address, value); } else if (operation == SemaphoredOperation.Reduction) { bool signed = _state.State.SemaphoredFormat == SemaphoredFormat.Signed; - int mem = _context.MemoryAccessor.Read(address); + int mem = _context.MemoryManager.Read(address); switch (_state.State.SemaphoredReduction) { @@ -116,7 +116,7 @@ namespace Ryujinx.Graphics.Gpu.Engine.GPFifo break; } - _context.MemoryAccessor.Write(address, value); + _context.MemoryManager.Write(address, value); } } diff --git a/Ryujinx.Graphics.Gpu/Engine/GPFifo/GPFifoDevice.cs b/Ryujinx.Graphics.Gpu/Engine/GPFifo/GPFifoDevice.cs index 466bff8f..c68a3ef2 100644 --- a/Ryujinx.Graphics.Gpu/Engine/GPFifo/GPFifoDevice.cs +++ b/Ryujinx.Graphics.Gpu/Engine/GPFifo/GPFifoDevice.cs @@ -52,7 +52,7 @@ namespace Ryujinx.Graphics.Gpu.Engine.GPFifo { if (Words == null) { - Words = MemoryMarshal.Cast(context.MemoryAccessor.GetSpan(EntryAddress, (int)EntryCount * 4)).ToArray(); + Words = MemoryMarshal.Cast(context.MemoryManager.GetSpan(EntryAddress, (int)EntryCount * 4)).ToArray(); } } } -- cgit v1.2.3