diff options
author | 0kmg <9137159+0kmg@users.noreply.github.com> | 2021-10-07 04:06:31 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-07 08:06:31 -0400 |
commit | 9cc814751eddbbcb5e614156030b51eac53ab568 (patch) | |
tree | df256837912589004a0afd64fb1829b10362d76c /src/devices/bus/nes/mmc3_clones.h | |
parent | af18af07e920f39803027ad06e0bface94bd7bd4 (diff) |
bus/nes: Set multicart bank size in softlist when appropriate. (#8644)
New working software list additions (nes.xml)
-----------------------------------
1996 Super HiK 4 in 1 (JY-004) [NewRisingSun, taizou]
1998 Super Game 8 in 1 (JY-111) [Consolethinks, NewRisingSun]
1997 8 in 1 (JY-112) [Consolethinks, NewRisingSun]
Diffstat (limited to 'src/devices/bus/nes/mmc3_clones.h')
-rw-r--r-- | src/devices/bus/nes/mmc3_clones.h | 42 |
1 files changed, 8 insertions, 34 deletions
diff --git a/src/devices/bus/nes/mmc3_clones.h b/src/devices/bus/nes/mmc3_clones.h index f5cf970728b..f1d73d146f2 100644 --- a/src/devices/bus/nes/mmc3_clones.h +++ b/src/devices/bus/nes/mmc3_clones.h @@ -475,13 +475,13 @@ private: }; -// ======================> nes_fcgj8in1_device +// ======================> nes_bmc_el86xc_device -class nes_fcgj8in1_device : public nes_txrom_device +class nes_bmc_el86xc_device : public nes_txrom_device { public: // construction/destruction - nes_fcgj8in1_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + nes_bmc_el86xc_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); virtual void write_m(offs_t offset, u8 data) override; @@ -543,46 +543,22 @@ public: }; -// ======================> nes_resettxrom0_device +// ======================> nes_resettxrom_device -class nes_resettxrom0_device : public nes_txrom_device +class nes_resettxrom_device : public nes_txrom_device { public: // construction/destruction - nes_resettxrom0_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + nes_resettxrom_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); virtual void pcb_reset() override; protected: - // construction/destruction - nes_resettxrom0_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, int prg_shift, int chr_shift); - // device-level overrides virtual void device_start() override; private: int m_count; - int m_prg_shift, m_chr_shift; -}; - - -// ======================> nes_resettxrom1_device - -class nes_resettxrom1_device : public nes_resettxrom0_device -{ -public: - // construction/destruction - nes_resettxrom1_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); -}; - - -// ======================> nes_resettxrom2_device - -class nes_resettxrom2_device : public nes_resettxrom0_device -{ -public: - // construction/destruction - nes_resettxrom2_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); }; @@ -1072,13 +1048,11 @@ DECLARE_DEVICE_TYPE(NES_SACHEN_SHERO, nes_sachen_shero_device) DECLARE_DEVICE_TYPE(NES_A9746, nes_a9746_device) DECLARE_DEVICE_TYPE(NES_A88S1, nes_a88s1_device) -DECLARE_DEVICE_TYPE(NES_FCGJ8IN1, nes_fcgj8in1_device) +DECLARE_DEVICE_TYPE(NES_BMC_EL86XC, nes_bmc_el86xc_device) DECLARE_DEVICE_TYPE(NES_FK23C, nes_fk23c_device) DECLARE_DEVICE_TYPE(NES_FK23CA, nes_fk23ca_device) DECLARE_DEVICE_TYPE(NES_NT639, nes_nt639_device) -DECLARE_DEVICE_TYPE(NES_RESETTXROM0, nes_resettxrom0_device) -DECLARE_DEVICE_TYPE(NES_RESETTXROM1, nes_resettxrom1_device) -DECLARE_DEVICE_TYPE(NES_RESETTXROM2, nes_resettxrom2_device) +DECLARE_DEVICE_TYPE(NES_RESETTXROM, nes_resettxrom_device) DECLARE_DEVICE_TYPE(NES_S24IN1SC03, nes_s24in1sc03_device) DECLARE_DEVICE_TYPE(NES_TECHLINE9IN1, nes_tech9in1_device) DECLARE_DEVICE_TYPE(NES_BMC_8IN1, nes_bmc_8in1_device) |