From 6d53152a7f961657251d9a962e92a843bf092dd3 Mon Sep 17 00:00:00 2001 From: goyuken Date: Tue, 4 Feb 2014 03:51:17 +0000 Subject: [PATCH] NES: reorder boards slightly to shave them nanoseconds off boot time --- .../Consoles/Nintendo/NES/Boards/MMC3_family/HKROM.cs | 1 - .../Consoles/Nintendo/NES/Boards/MMC3_family/TLSROM.cs | 1 - .../Consoles/Nintendo/NES/Boards/MMC3_family/TQROM.cs | 1 - .../Consoles/Nintendo/NES/Boards/MMC3_family/TVROM.cs | 1 - BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/SxROM.cs | 3 +-- 5 files changed, 1 insertion(+), 6 deletions(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/HKROM.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/HKROM.cs index 0f64001065..76e6e72e6d 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/HKROM.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/HKROM.cs @@ -4,7 +4,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES { //aka MMC6 aka StarTropics and StarTropics 2 //for simplicity's sake, the behaviour of mmc6 is wrapped up into this board since it isnt used anywhere else - [NES.INESBoardImplPriority] public sealed class HKROM : MMC3Board_Base { //configuration diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/TLSROM.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/TLSROM.cs index 7761ab4680..ffea03e63c 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/TLSROM.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/TLSROM.cs @@ -2,7 +2,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES { //aka mapper 118 //wires the mapper outputs to control the nametables - [NES.INESBoardImplPriority] public sealed class TLSROM : MMC3Board_Base { public override bool Configure(NES.EDetectionOrigin origin) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/TQROM.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/TQROM.cs index d1fc69ecec..6b37020305 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/TQROM.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/TQROM.cs @@ -2,7 +2,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES { //aka mapper 119 //just high speed and pinbot with an MMC3 and some custom logic to select between chr rom and chr ram - [NES.INESBoardImplPriority] public sealed class TQSROM : MMC3Board_Base { public override bool Configure(NES.EDetectionOrigin origin) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/TVROM.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/TVROM.cs index e4f25e2bb2..6e15546a96 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/TVROM.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/TVROM.cs @@ -1,6 +1,5 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES { - [NES.INESBoardImplPriority] public sealed class TVROM : MMC3Board_Base { public override bool Configure(NES.EDetectionOrigin origin) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/SxROM.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/SxROM.cs index b0480505bf..5a5bbefa83 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/SxROM.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/SxROM.cs @@ -433,7 +433,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES } //class SxROM - [NES.INESBoardImplPriority] class SoROM : SuROM { //this uses a CHR bit to select WRAM banks @@ -517,7 +516,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES } } - [NES.INESBoardImplPriority] + class SuROM : SxROM { public override bool Configure(NES.EDetectionOrigin origin)