From 002e1fc133b737e4e48b2fa5d4c222ebbfee8a4f Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sat, 23 Jun 2018 19:09:39 -0300 Subject: [PATCH] Remove unused constant --- Ryujinx.HLE/Gpu/Engines/NvGpuEngine2d.cs | 10 +++++----- Ryujinx.HLE/Gpu/Engines/NvGpuFifo.cs | 4 ---- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/Ryujinx.HLE/Gpu/Engines/NvGpuEngine2d.cs b/Ryujinx.HLE/Gpu/Engines/NvGpuEngine2d.cs index dcfec10fc3..f150b3f5e9 100644 --- a/Ryujinx.HLE/Gpu/Engines/NvGpuEngine2d.cs +++ b/Ryujinx.HLE/Gpu/Engines/NvGpuEngine2d.cs @@ -131,11 +131,11 @@ namespace Ryujinx.HLE.Gpu.Engines } private void CopyTexture( - NvGpuVmm Vmm, - TextureInfo Texture, - byte[] Buffer, - int Width, - int Height) + NvGpuVmm Vmm, + TextureInfo Texture, + byte[] Buffer, + int Width, + int Height) { TextureWriter.Write(Vmm, Texture, Buffer, Width, Height); } diff --git a/Ryujinx.HLE/Gpu/Engines/NvGpuFifo.cs b/Ryujinx.HLE/Gpu/Engines/NvGpuFifo.cs index f004709483..0bc682a70f 100644 --- a/Ryujinx.HLE/Gpu/Engines/NvGpuFifo.cs +++ b/Ryujinx.HLE/Gpu/Engines/NvGpuFifo.cs @@ -12,10 +12,6 @@ namespace Ryujinx.HLE.Gpu.Engines //a guess here and use 256kb as the size. Increase if needed. private const int MmeWords = 256 * 256; - //This is used to prevent an unbounded growth of the FIFO queue. - //The game shouldn't send more commands than we are capable to process. - private const int FifoCapacity = 10000; - private NvGpu Gpu; private ConcurrentQueue<(NvGpuVmm, NvGpuPBEntry)> BufferQueue;