From af5acb457d340fb27b92508856fc42251208933d Mon Sep 17 00:00:00 2001 From: adelikat Date: Thu, 6 Aug 2020 10:08:19 -0500 Subject: [PATCH] a few pointless refactors --- .../Consoles/GCE/Vectrex/VectrexHawk.IStatable.cs | 2 +- .../Consoles/NEC/PCE/HyperNyma.cs | 2 -- .../Consoles/NEC/PCE/TurboNyma.cs | 10 ++++------ src/BizHawk.Emulation.Cores/Consoles/NEC/PCFX/Tst.cs | 8 -------- 4 files changed, 5 insertions(+), 17 deletions(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/GCE/Vectrex/VectrexHawk.IStatable.cs b/src/BizHawk.Emulation.Cores/Consoles/GCE/Vectrex/VectrexHawk.IStatable.cs index 754c8c724b..34c29eb1ba 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/GCE/Vectrex/VectrexHawk.IStatable.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/GCE/Vectrex/VectrexHawk.IStatable.cs @@ -68,7 +68,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Vectrex ser.Sync(nameof(joy2_LR), ref joy2_LR); ser.Sync(nameof(joy2_UD), ref joy2_UD); - // referesh the screen buffer + // refresh the screen buffer if (ser.IsReader) { for (int i = 0; i < _framebuffer.Length; i++) diff --git a/src/BizHawk.Emulation.Cores/Consoles/NEC/PCE/HyperNyma.cs b/src/BizHawk.Emulation.Cores/Consoles/NEC/PCE/HyperNyma.cs index f1366d7c5b..3b0af81df2 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/NEC/PCE/HyperNyma.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/NEC/PCE/HyperNyma.cs @@ -1,13 +1,11 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Runtime.InteropServices; using BizHawk.BizInvoke; using BizHawk.Common; using BizHawk.Emulation.Common; using BizHawk.Emulation.Cores.PCEngine; using BizHawk.Emulation.Cores.Waterbox; -using BizHawk.Emulation.DiscSystem; namespace BizHawk.Emulation.Cores.Consoles.NEC.PCE { diff --git a/src/BizHawk.Emulation.Cores/Consoles/NEC/PCE/TurboNyma.cs b/src/BizHawk.Emulation.Cores/Consoles/NEC/PCE/TurboNyma.cs index 2920341d28..45f2fbf2a1 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/NEC/PCE/TurboNyma.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/NEC/PCE/TurboNyma.cs @@ -75,13 +75,11 @@ namespace BizHawk.Emulation.Cores.Consoles.NEC.PCE { return new HashSet(); } - else + + return new HashSet { - return new HashSet - { - "port2", "port3", "port4", "port5" - }; - } + "port2", "port3", "port4", "port5" + }; } // pce always has two layers, sgx always has 4, and mednafen knows this diff --git a/src/BizHawk.Emulation.Cores/Consoles/NEC/PCFX/Tst.cs b/src/BizHawk.Emulation.Cores/Consoles/NEC/PCFX/Tst.cs index 297e554694..65f314919d 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/NEC/PCFX/Tst.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/NEC/PCFX/Tst.cs @@ -1,15 +1,7 @@ using BizHawk.Emulation.Common; -using BizHawk.Emulation.Cores.Consoles.Sega.Saturn; using BizHawk.Emulation.Cores.Waterbox; -using BizHawk.Emulation.DiscSystem; using System; using System.Collections.Generic; -using System.Linq; -using System.Runtime.InteropServices; -using System.IO; -using System.ComponentModel; -using System.ComponentModel.DataAnnotations; -using BizHawk.Common; namespace BizHawk.Emulation.Cores.Consoles.NEC.PCFX {