NES - make mappers and whatnot sealed classes, since it may theoretically be a tiny speedup, and if nothing else, it is more conceptually correct

This commit is contained in:
adelikat 2013-08-25 01:08:17 +00:00
parent fcb54994b3
commit 61236bf763
140 changed files with 144 additions and 142 deletions

View File

@ -18,7 +18,7 @@ using System.Collections.Generic;
namespace BizHawk.Emulation.Consoles.Nintendo
{
partial class NES
sealed partial class NES
{
public class APU
{

View File

@ -1,7 +1,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
//AKA half of mapper 034 (the other half is BxROM which is entirely different..)
class AVE_NINA_001 : NES.NESBoardBase
public sealed class AVE_NINA_001 : NES.NESBoardBase
{
//configuration
int prg_bank_mask_32k, chr_bank_mask_4k;

View File

@ -3,7 +3,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
//generally mapper7
[NES.INESBoardImplPriority]
public class AxROM : NES.NESBoardBase
public sealed class AxROM : NES.NESBoardBase
{
//configuration
bool bus_conflict;

View File

@ -22,7 +22,7 @@
No CIC present
*/
class BANDAI_FCG_1 : NES.NESBoardBase
public sealed class BANDAI_FCG_1 : NES.NESBoardBase
{
//configuration
int prg_bank_mask_16k, chr_bank_mask_1k;

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class BANDAI_74_161_02_74 : NES.NESBoardBase
public sealed class BANDAI_74_161_02_74 : NES.NESBoardBase
{
/*
Here are Disch's original notes:

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class BANDAI_74_161_161_32 : NES.NESBoardBase
public sealed class BANDAI_74_161_161_32 : NES.NESBoardBase
{
//Mapper 70
//Example Games:

View File

@ -1,7 +1,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
//AKA half of mapper 034 (the other half is AVE_NINA_001 which is entirely different..)
class BxROM : NES.NESBoardBase
public sealed class BxROM : NES.NESBoardBase
{
//configuration
int prg_bank_mask_32k;

View File

@ -11,7 +11,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
//Cybernoid
[NES.INESBoardImplPriority]
public class CNROM : NES.NESBoardBase
public sealed class CNROM : NES.NESBoardBase
{
//configuration
int prg_mask,chr_mask;

View File

@ -1,7 +1,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
public class CPROM : NES.NESBoardBase
public sealed class CPROM : NES.NESBoardBase
{
//generally mapper 13

View File

@ -2,7 +2,7 @@
{
//AKA mapper 071
//TODO - apparently this mapper contains good nes timing test cases
class Camerica_Mapper071 : NES.NESBoardBase
public sealed class Camerica_Mapper071 : NES.NESBoardBase
{
//configuration
int prg_bank_mask_16k;

View File

@ -16,7 +16,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
[NES.INESBoardImplPriority]
public class ExROM : NES.NESBoardBase
public sealed class ExROM : NES.NESBoardBase
{
//configuraton
int prg_bank_mask_8k, chr_bank_mask_1k; //board setup (to be isolated from mmc5 code later, when we need the separate mmc5 class)

View File

@ -13,7 +13,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
//TODO - bus conflicts
[NES.INESBoardImplPriority]
public class GxROM : NES.NESBoardBase
public sealed class GxROM : NES.NESBoardBase
{
//configuraton
int prg_mask, chr_mask;

View File

@ -7,7 +7,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
//Crystal Mines
//Metal Fighter
public class IC_74x377 : NES.NESBoardBase
public sealed class IC_74x377 : NES.NESBoardBase
{
//configuration
int prg_bank_mask_32k, chr_bank_mask_8k;

View File

@ -5,7 +5,7 @@
//the 4screen implementation is a bit of a guess, but it seems to work
class IREM_74_161_161_21_138 : NES.NESBoardBase
public sealed class IREM_74_161_161_21_138 : NES.NESBoardBase
{
int chr, prg;
public override bool Configure(NES.EDetectionOrigin origin)

View File

@ -3,7 +3,7 @@
//iNES Mapper 97
//Kaiketsu Yanchamaru (Kid Niki 1)
class IREM_TAM_S1 : NES.NESBoardBase
public sealed class IREM_TAM_S1 : NES.NESBoardBase
{
int prg_bank_mask_16k;
byte prg_bank_16k;

View File

@ -6,7 +6,7 @@
//Major League
//Kaiketsu Yanchamaru 2
class Irem_G101 : NES.NESBoardBase
public sealed class Irem_G101 : NES.NESBoardBase
{
//configuration
int prg_bank_mask, chr_bank_mask;

View File

@ -7,7 +7,7 @@
//NOTE - fceux support for this mapper has some kind of -4 cpu cycle delay built into the timer. not sure yet whether we need that
class Irem_H3001 : NES.NESBoardBase
public sealed class Irem_H3001 : NES.NESBoardBase
{
//configuration
int prg_bank_mask, chr_bank_mask;

View File

@ -12,7 +12,7 @@
Ninja Jajamaru Kun - JF_06
Argus (J) - JF_07
*/
class JALECO_JF_05_06_07 : NES.NESBoardBase
public sealed class JALECO_JF_05_06_07 : NES.NESBoardBase
{
bool hibit, lowbit;

View File

@ -7,7 +7,7 @@
//Moero!! Pro Yakyuu (Black)
//Moero!! Pro Yakyuu (Red)
class JALECO_JF_13 : NES.NESBoardBase
public sealed class JALECO_JF_13 : NES.NESBoardBase
{
//configuration
int prg_bank_mask_32k;

View File

@ -13,7 +13,7 @@
//when the top 2 bits arent 0, theyre written to the latch
//interestingly, this works (for pinball quest) only when bus conflicts are applied, otherwise the game cant get past the title
class JALECO_JF_17 : NES.NESBoardBase
public sealed class JALECO_JF_17 : NES.NESBoardBase
{
//configuration
int prg_bank_mask_16k;

View File

@ -9,7 +9,7 @@
//Near Identical to Jaleco JF 17, except for a slight PRG setup
class JALECO_JF_19 : NES.NESBoardBase
public sealed class JALECO_JF_19 : NES.NESBoardBase
{
//configuration
int prg_bank_mask_16k;

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class JALECO_SS8806 : NES.NESBoardBase
public sealed class JALECO_SS8806 : NES.NESBoardBase
{
//http://wiki.nesdev.com/w/index.php/INES_Mapper_018

View File

@ -19,7 +19,7 @@ Other chips used: Sunsoft-1
* Bio Senshi Dan - Increaser Tono Tatakai [allegedly; but it does not work]
*/
class Jaleco_JF_11_14 : NES.NESBoardBase
public sealed class Jaleco_JF_11_14 : NES.NESBoardBase
{
int chr, prg;

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class MLT_ACTION52 : NES.NESBoardBase
public sealed class MLT_ACTION52 : NES.NESBoardBase
{
/*
Here are Disch's original notes:

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class MLT_MAX15 : NES.NESBoardBase
public sealed class MLT_MAX15 : NES.NESBoardBase
{
//http://wiki.nesdev.com/w/index.php/INES_Mapper_234

View File

@ -3,7 +3,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
//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 class HKROM : MMC3Board_Base
public sealed class HKROM : MMC3Board_Base
{
//configuration

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
public class Mapper012 : MMC3Board_Base
public sealed class Mapper012 : MMC3Board_Base
{
public override bool Configure(NES.EDetectionOrigin origin)
{

View File

@ -1,7 +1,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
// mmc3 multi, PAL, "Super Mario Bros. / Tetris / Nintendo World Cup"
public class Mapper037 : MMC3Board_Base
public sealed class Mapper037 : MMC3Board_Base
{
int exreg;

View File

@ -3,7 +3,7 @@
//http://wiki.nesdev.com/w/index.php/INES_Mapper_044
public class Mapper044 : MMC3Board_Base
{
public override bool Configure(NES.EDetectionOrigin origin)
public sealed override bool Configure(NES.EDetectionOrigin origin)
{
//analyze board type
switch (Cart.board_type)

View File

@ -1,7 +1,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
//http://wiki.nesdev.com/w/index.php/INES_Mapper_044
public class Mapper049 : MMC3Board_Base
public sealed class Mapper049 : MMC3Board_Base
{
public override bool Configure(NES.EDetectionOrigin origin)
{

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper52 : MMC3Board_Base
public sealed class Mapper52 : MMC3Board_Base
{
//http://wiki.nesdev.com/w/index.php/INES_Mapper_052

View File

@ -4,7 +4,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper074 : MMC3Board_Base
public sealed class Mapper074 : MMC3Board_Base
{
//http://wiki.nesdev.com/w/index.php/INES_Mapper_074

View File

@ -3,7 +3,7 @@
//this class also handles mapper 248
//FCEUX uses 115 to implement 248 as well (as of 09-apr-2012 it does it buggily in the case of Bao Qing Tian (As))
//VirtuaNES has its own class that implements 248. I think it's wrong (MAME and/or MESS may have switched to using 115 at some point)
public class Mapper115 : MMC3Board_Base
public sealed class Mapper115 : MMC3Board_Base
{
public override bool Configure(NES.EDetectionOrigin origin)
{

View File

@ -3,7 +3,7 @@
// Fire Emblem (Ch)
// mmc3 with mmc2-style chr swapping
// seem to be some graphical glitches...
public class Mapper165 : MMC3Board_Base
public sealed class Mapper165 : MMC3Board_Base
{
bool latch0 = false;
bool latch1 = false;

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
public class Mapper182 : MMC3Board_Base
public sealed class Mapper182 : MMC3Board_Base
{
public override bool Configure(NES.EDetectionOrigin origin)
{

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
public class Mapper189 : MMC3Board_Base
public sealed class Mapper189 : MMC3Board_Base
{
public override bool Configure(NES.EDetectionOrigin origin)
{

View File

@ -2,7 +2,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
public class Mapper191 : MMC3Board_Base
public sealed class Mapper191 : MMC3Board_Base
{
public override bool Configure(NES.EDetectionOrigin origin)
{

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper192 : MMC3Board_Base
public sealed class Mapper192 : MMC3Board_Base
{
//http://wiki.nesdev.com/w/index.php/INES_Mapper_192

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper194 : MMC3Board_Base
public sealed class Mapper194 : MMC3Board_Base
{
//http://wiki.nesdev.com/w/index.php/INES_Mapper_194

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper197 : MMC3Board_Base
public sealed class Mapper197 : MMC3Board_Base
{
public override bool Configure(NES.EDetectionOrigin origin)
{

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper205 : MMC3Board_Base
public sealed class Mapper205 : MMC3Board_Base
{
//Mapper 205 info: http://wiki.nesdev.com/w/index.php/INES_Mapper_205

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper245 : MMC3Board_Base
public sealed class Mapper245 : MMC3Board_Base
{
//http://wiki.nesdev.com/w/index.php/INES_Mapper_245
bool chr_mode;

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
public class Mapper249 : MMC3Board_Base
public sealed class Mapper249 : MMC3Board_Base
{
bool piratecrap = false;

View File

@ -3,7 +3,7 @@
// Time Diver Avenger (Unl)
// MMC3 with slightly different write scheme
// presumably the board contains an MMC3 clone with some unique edge case behavior; unknown
public class Mapper250 : MMC3Board_Base
public sealed class Mapper250 : MMC3Board_Base
{
public override bool Configure(NES.EDetectionOrigin origin)
{

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
public class NES_QJ : MMC3Board_Base
public sealed class NES_QJ : MMC3Board_Base
{
//state
int block;

View File

@ -3,7 +3,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
//aka mapper 118
//wires the mapper outputs to control the nametables
[NES.INESBoardImplPriority]
public class TLSROM : MMC3Board_Base
public sealed class TLSROM : MMC3Board_Base
{
public override bool Configure(NES.EDetectionOrigin origin)
{

View File

@ -3,7 +3,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
//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 class TQSROM : MMC3Board_Base
public sealed class TQSROM : MMC3Board_Base
{
public override bool Configure(NES.EDetectionOrigin origin)
{

View File

@ -1,7 +1,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
[NES.INESBoardImplPriority]
public class TVROM : MMC3Board_Base
public sealed class TVROM : MMC3Board_Base
{
public override bool Configure(NES.EDetectionOrigin origin)
{

View File

@ -4,7 +4,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
[NES.INESBoardImplPriority]
public class TxROM : MMC3Board_Base
public sealed class TxROM : MMC3Board_Base
{
public override void WritePRG(int addr, byte value)
{

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper015 : NES.NESBoardBase
public sealed class Mapper015 : NES.NESBoardBase
{
//configuration
int prg_bank_mask_8k;

View File

@ -1,7 +1,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
// http://wiki.nesdev.com/w/index.php/User:Tepples/Multi-discrete_mapper
public class Mapper028 : NES.NESBoardBase
public sealed class Mapper028 : NES.NESBoardBase
{
// config
int chr_mask_8k;

View File

@ -4,7 +4,7 @@
// Strike Wolf (MGC-014) [!].nes
// like an oversize GxROM
// information from fceux
public class Mapper036 : NES.NESBoardBase
public sealed class Mapper036 : NES.NESBoardBase
{
int chr;
int prg;

View File

@ -1,7 +1,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
// Crime Busters (Brazil) (Unl)
public class Mapper038 : NES.NESBoardBase
public sealed class Mapper038 : NES.NESBoardBase
{
//configuraton
int prg_mask, chr_mask;

View File

@ -1,7 +1,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
// smb2j (us pirate)
public class Mapper040 : NES.NESBoardBase
public sealed class Mapper040 : NES.NESBoardBase
{
int prg = 0;
int irqcnt = 0;

View File

@ -1,7 +1,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
// caltron 6 in 1
public class Mapper041 : NES.NESBoardBase
public sealed class Mapper041 : NES.NESBoardBase
{
int prg;
int chr;

View File

@ -4,7 +4,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
{
// pirate FDS conversion
// this is probably two different boards, but they seem to work well enough the same
public class Mapper042 : NES.NESBoardBase
public sealed class Mapper042 : NES.NESBoardBase
{
int prg = 0;
int chr = 0;

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper045 : MMC3Board_Base
public sealed class Mapper045 : MMC3Board_Base
{
//http://wiki.nesdev.com/w/index.php/INES_Mapper_045

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper046 : NES.NESBoardBase
public sealed class Mapper046 : NES.NESBoardBase
{
//Rumblestation 15-in-1 (Unl).nes

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper057 : NES.NESBoardBase
public sealed class Mapper057 : NES.NESBoardBase
{
/*
Here are Disch's original notes:

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper058 : NES.NESBoardBase
public sealed class Mapper058 : NES.NESBoardBase
{
/*
* Here are Disch's original notes:

View File

@ -3,7 +3,7 @@
//Mapper 069 is FME7
//or, Sunsoft-5, which is FME7 with additional sound hardware
class Sunsoft_5 : Sunsoft_FME7
public sealed class Sunsoft_5 : Sunsoft_FME7
{
Sound.Sunsoft5BAudio audio;
@ -50,7 +50,7 @@
}
}
class Sunsoft_FME7 : NES.NESBoardBase
public class Sunsoft_FME7 : NES.NESBoardBase
{
//configuration
int prg_bank_mask_8k, chr_bank_mask_1k, wram_bank_mask_8k;

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper078 : NES.NESBoardBase
public sealed class Mapper078 : NES.NESBoardBase
{
bool holydiver;
int chr;

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper090 : NES.NESBoardBase
public sealed class Mapper090 : NES.NESBoardBase
{
ByteBuffer prg_banks = new ByteBuffer(4);
IntBuffer chr_banks = new IntBuffer(8);

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper91 : NES.NESBoardBase
public sealed class Mapper91 : NES.NESBoardBase
{
/*
*Note: Street Fighter III (Unl) is actually mapper 197. However variations such as Street Fighter III (9 Fighter) and Mari Street Fighter III use this mapper

View File

@ -2,7 +2,7 @@
{
// one of the VS unisystem mappers
// a lot of dumps are labelled incorrectly
public class Mapper099 : NES.NESBoardBase
public sealed class Mapper099 : NES.NESBoardBase
{
int chr;
public override bool Configure(NES.EDetectionOrigin origin)

View File

@ -1,7 +1,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
//Urusei Yatsura - Lum no Wedding Bell (J)
class Mapper101 : NES.NESBoardBase
public sealed class Mapper101 : NES.NESBoardBase
{
//configuration
int chr_bank_mask_8k;

View File

@ -2,7 +2,7 @@
{
// Doki Doki Panic (FDS port)
// "BTL 2708"
public class Mapper103 : NES.NESBoardBase
public sealed class Mapper103 : NES.NESBoardBase
{
int prg;
bool romenable;

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper107 : NES.NESBoardBase
public sealed class Mapper107 : NES.NESBoardBase
{
//configuration
int prg_bank_mask_32k, chr_bank_mask_8k;

View File

@ -1,7 +1,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
// Meikyuu Jiin Dababa (FDS Conversion)
public class Mapper108 : NES.NESBoardBase
public sealed class Mapper108 : NES.NESBoardBase
{
int prg;

View File

@ -4,7 +4,7 @@ using System;
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper116 : NES.NESBoardBase
public sealed class Mapper116 : NES.NESBoardBase
{
[NES.INESBoardImplCancel]
class MMC3_CustomBoard : MMC3Board_Base

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper120 : NES.NESBoardBase
public sealed class Mapper120 : NES.NESBoardBase
{
//Used by Tobidase Daisakusen (FDS Conversion). Undocumented by Disch docs, this implementation is based on FCEUX

View File

@ -2,7 +2,7 @@
{
// Creatom
// specs pulled from Nintendulator sources
public class Mapper132 : NES.NESBoardBase
public sealed class Mapper132 : NES.NESBoardBase
{
//configuraton
int prg_mask, chr_mask;

View File

@ -4,7 +4,7 @@
// NROM plus random copy protection circuit
// dancing blocks refuses to run; see comments below
public class Mapper143 : NES.NESBoardBase
public sealed class Mapper143 : NES.NESBoardBase
{
public override bool Configure(NES.EDetectionOrigin origin)
{

View File

@ -7,7 +7,7 @@
* Buzz and Waldog (K)
* General's Son (K)
*/
public class Mapper156 : NES.NESBoardBase
public sealed class Mapper156 : NES.NESBoardBase
{
int prg_mask;
int chr_mask;

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper164 : NES.NESBoardBase
public sealed class Mapper164 : NES.NESBoardBase
{
/*
* Here are Disch's original notes:

View File

@ -6,7 +6,7 @@
// defaults to off, the control regs are write only, and cannot be reenabled. so...
// todo: special controller, and IRQ is possibly wrong
public class Mapper168 : NES.NESBoardBase
public sealed class Mapper168 : NES.NESBoardBase
{
int prg = 0;
int chr = 0;

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper176 : NES.NESBoardBase
public sealed class Mapper176 : NES.NESBoardBase
{
//configuration
int prg_bank_mask_8k, chr_bank_mask_8k;

View File

@ -2,7 +2,7 @@
{
// china
// behavior from fceux
public class Mapper177 : NES.NESBoardBase
public sealed class Mapper177 : NES.NESBoardBase
{
int prg;

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper178 : NES.NESBoardBase
public sealed class Mapper178 : NES.NESBoardBase
{
//configuration
int prg_bank_mask_32k;

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper180 : NES.NESBoardBase
public sealed class Mapper180 : NES.NESBoardBase
{
//Mapper 180
//Crazy Climber (J)

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper193 : NES.NESBoardBase
public sealed class Mapper193 : NES.NESBoardBase
{
/*
* ========================

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper200 : NES.NESBoardBase
public sealed class Mapper200 : NES.NESBoardBase
{
/*
Here are Disch's original notes:

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper201 : NES.NESBoardBase
public sealed class Mapper201 : NES.NESBoardBase
{
/*
Here are Disch's original notes:

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper203 : NES.NESBoardBase
public sealed class Mapper203 : NES.NESBoardBase
{
/*
Here are Disch's original notes:

View File

@ -57,7 +57,7 @@
Mirroring bit of appropriate reg selects NTA or NTB
*/
class Mapper207 : NES.NESBoardBase
public sealed class Mapper207 : NES.NESBoardBase
{
int prg_bank_mask, chr_bank_mask;
ByteBuffer chr_regs_1k = new ByteBuffer(8);

View File

@ -2,7 +2,7 @@
{
// rewires pins to use internal CIRAM as both nametable and pattern data, so
// the entire cart is just a single PRGROM chip (plus CIC)
public class Mapper218 : NES.NESBoardBase
public sealed class Mapper218 : NES.NESBoardBase
{
//configuration
int prg_byte_mask;

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper225 : NES.NESBoardBase
public sealed class Mapper225 : NES.NESBoardBase
{
/*
Here are Disch's original notes:

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper226 : NES.NESBoardBase
public sealed class Mapper226 : NES.NESBoardBase
{
/*
* Here are Disch's original notes:

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper227 : NES.NESBoardBase
public sealed class Mapper227 : NES.NESBoardBase
{
//configuration
int prg_bank_mask_16k;

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper230 : NES.NESBoardBase
public sealed class Mapper230 : NES.NESBoardBase
{
/*
* Here are Disch's original notes:

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper231 : NES.NESBoardBase
public sealed class Mapper231 : NES.NESBoardBase
{
/*
* Here are Disch's original notes:

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper233 : NES.NESBoardBase
public sealed class Mapper233 : NES.NESBoardBase
{
/*
Here are Disch's original notes:

View File

@ -2,7 +2,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper240 : NES.NESBoardBase
public sealed class Mapper240 : NES.NESBoardBase
{
//MHROM (mapper60) -like but wider regs (4 prg, 4 chr instead of 2 prg, 2 chr) and on EXP bus

View File

@ -2,7 +2,7 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper241 : NES.NESBoardBase
public sealed class Mapper241 : NES.NESBoardBase
{
//configuration
int prg_bank_mask_32k;

View File

@ -14,7 +14,7 @@ mirroring - both
* Wai Xing Zhan Shi (Ch)
*/
class Mapper242 : NES.NESBoardBase
public sealed class Mapper242 : NES.NESBoardBase
{
int prg;

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper243 : NES.NESBoardBase
public sealed class Mapper243 : NES.NESBoardBase
{
/*
Here are Disch's original notes:

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper246 : NES.NESBoardBase
public sealed class Mapper246 : NES.NESBoardBase
{
/*
Here are Disch's original notes:

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper50 : NES.NESBoardBase
public sealed class Mapper50 : NES.NESBoardBase
{
//http://wiki.nesdev.com/w/index.php/INES_Mapper_050

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper60 : NES.NESBoardBase
public sealed class Mapper60 : NES.NESBoardBase
{
/*
Here are Disch's original notes:

View File

@ -1,6 +1,6 @@
namespace BizHawk.Emulation.Consoles.Nintendo
{
class Mapper61 : NES.NESBoardBase
public sealed class Mapper61 : NES.NESBoardBase
{
/*
* Here are Disch's original notes:

Some files were not shown because too many files have changed in this diff Show More