From f8fbc57780c0ccfcb513052209b51193707eeb1b Mon Sep 17 00:00:00 2001 From: adelikat Date: Tue, 17 Dec 2019 14:48:42 -0600 Subject: [PATCH] cleanup --- .../Extensions/CoreExtensions.cs | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/BizHawk.Client.EmuHawk/Extensions/CoreExtensions.cs b/BizHawk.Client.EmuHawk/Extensions/CoreExtensions.cs index 07590da894..23b8af1fe1 100644 --- a/BizHawk.Client.EmuHawk/Extensions/CoreExtensions.cs +++ b/BizHawk.Client.EmuHawk/Extensions/CoreExtensions.cs @@ -3,18 +3,14 @@ using BizHawk.Emulation.Common; using BizHawk.Emulation.Common.IEmulatorExtensions; -using BizHawk.Emulation.Cores.Nintendo.GBA; using BizHawk.Emulation.Cores.Consoles.Nintendo.QuickNES; using BizHawk.Emulation.Cores.Nintendo.SNES; using BizHawk.Emulation.Cores.Nintendo.Gameboy; using BizHawk.Emulation.Cores.Nintendo.SNES9X; -using BizHawk.Emulation.Cores.Sega.Saturn; using BizHawk.Emulation.Cores.Consoles.Sega.gpgx; using BizHawk.Emulation.Cores.Sony.PSP; using BizHawk.Emulation.Cores.Arcades.MAME; -using BizHawk.Client.Common; - namespace BizHawk.Client.EmuHawk.CoreExtensions { public static class CoreExtensions @@ -32,34 +28,38 @@ namespace BizHawk.Client.EmuHawk.CoreExtensions { return Properties.Resources.QuickNes; } - else if (core is LibsnesCore) + + if (core is LibsnesCore) { return Properties.Resources.bsnes; } - else if (core is GPGX) + + if (core is GPGX) { return Properties.Resources.genplus; } - else if (core is PSP) + + if (core is PSP) { return Properties.Resources.ppsspp; } - else if (core is Gameboy) + + if (core is Gameboy) { return Properties.Resources.gambatte; } - else if (core is Snes9x) + + if (core is Snes9x) { return Properties.Resources.snes9x; } - else if (core is MAME) + + if (core is MAME) { return Properties.Resources.mame; } - else - { - return null; - } + + return null; } public static string DisplayName(this IEmulator core)