aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Graphics3d/Texture/ImageUtils.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics/Graphics3d/Texture/ImageUtils.cs')
-rw-r--r--Ryujinx.Graphics/Graphics3d/Texture/ImageUtils.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics/Graphics3d/Texture/ImageUtils.cs b/Ryujinx.Graphics/Graphics3d/Texture/ImageUtils.cs
index ab45e985..10c36fe1 100644
--- a/Ryujinx.Graphics/Graphics3d/Texture/ImageUtils.cs
+++ b/Ryujinx.Graphics/Graphics3d/Texture/ImageUtils.cs
@@ -230,7 +230,7 @@ namespace Ryujinx.Graphics.Texture
public static byte[] ReadTexture(IMemory memory, GalImage image, long position)
{
- IMemoryManager cpuMemory;
+ MemoryManager cpuMemory;
if (memory is NvGpuVmm vmm)
{
@@ -238,7 +238,7 @@ namespace Ryujinx.Graphics.Texture
}
else
{
- cpuMemory = (IMemoryManager)memory;
+ cpuMemory = (MemoryManager)memory;
}
ISwizzle swizzle = TextureHelper.GetSwizzle(image);