From 9b68246b190503f826ccffa99fe40959d5606842 Mon Sep 17 00:00:00 2001 From: adelikat Date: Thu, 19 Mar 2020 10:18:35 -0500 Subject: [PATCH] remove an unused varaible in VDC.Render.cs, fixes a warning --- BizHawk.Emulation.Cores/Consoles/PC Engine/VDC.Render.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BizHawk.Emulation.Cores/Consoles/PC Engine/VDC.Render.cs b/BizHawk.Emulation.Cores/Consoles/PC Engine/VDC.Render.cs index 1be04fb3a0..499751fa93 100644 --- a/BizHawk.Emulation.Cores/Consoles/PC Engine/VDC.Render.cs +++ b/BizHawk.Emulation.Cores/Consoles/PC Engine/VDC.Render.cs @@ -428,8 +428,7 @@ namespace BizHawk.Emulation.Cores.PCEngine private int FramePitch = 320; private int FrameWidth = 320; - private int FrameHeight = 262; - private int[] FrameBuffer = new int[320 * 262]; + private readonly int[] FrameBuffer = new int[320 * 262]; // IVideoProvider implementation public int[] GetVideoBuffer() => FrameBuffer;