From 79a59397349b40758fc75cd2e19c67726a77e975 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 15 Mar 2018 21:06:24 -0300 Subject: Improvements to audout (#58) * Some audout refactoring and improvements * More audio improvements * Change ReadAsciiString to use long for the Size, avoids some casting --- Ryujinx.Graphics/Gpu/NsGpuPGraph.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Graphics') diff --git a/Ryujinx.Graphics/Gpu/NsGpuPGraph.cs b/Ryujinx.Graphics/Gpu/NsGpuPGraph.cs index eb893f74..6543b1d1 100644 --- a/Ryujinx.Graphics/Gpu/NsGpuPGraph.cs +++ b/Ryujinx.Graphics/Gpu/NsGpuPGraph.cs @@ -117,7 +117,7 @@ namespace Ryujinx.Graphics.Gpu if (Position != -1) { - byte[] Buffer = AMemoryHelper.ReadBytes(Memory, Position, (int)Size); + byte[] Buffer = AMemoryHelper.ReadBytes(Memory, Position, Size); int Stride = GetRegister(NsGpuRegister._3dVertexArray0Fetch) & 0xfff; -- cgit v1.2.3