aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Image/Texture.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/Texture.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Image/Texture.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/Texture.cs b/Ryujinx.Graphics.Gpu/Image/Texture.cs
index e72b619c..11855592 100644
--- a/Ryujinx.Graphics.Gpu/Image/Texture.cs
+++ b/Ryujinx.Graphics.Gpu/Image/Texture.cs
@@ -212,14 +212,6 @@ namespace Ryujinx.Graphics.Gpu.Image
return;
}
- ulong pageSize = (uint)_context.PhysicalMemory.GetPageSize();
-
- ulong pageMask = pageSize - 1;
-
- ulong rangeAddress = Address & ~pageMask;
-
- ulong rangeSize = (EndAddress - Address + pageMask) & ~pageMask;
-
Span<byte> data = _context.PhysicalMemory.Read(Address, Size);
if (_info.IsLinear)