diff options
Diffstat (limited to 'src/devices/bus/nes/txc.cpp')
-rw-r--r-- | src/devices/bus/nes/txc.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/devices/bus/nes/txc.cpp b/src/devices/bus/nes/txc.cpp index c6c4b6b9ad1..f3ab8efc5f9 100644 --- a/src/devices/bus/nes/txc.cpp +++ b/src/devices/bus/nes/txc.cpp @@ -37,40 +37,40 @@ // constructor //------------------------------------------------- -const device_type NES_TXC_22211 = device_creator<nes_txc_22211_device>; -const device_type NES_TXC_DUMARACING = device_creator<nes_txc_dumarc_device>; -const device_type NES_TXC_MJBLOCK = device_creator<nes_txc_mjblock_device>; -const device_type NES_TXC_STRIKEW = device_creator<nes_txc_strikew_device>; -const device_type NES_TXC_COMMANDOS = device_creator<nes_txc_commandos_device>; +DEFINE_DEVICE_TYPE(NES_TXC_22211, nes_txc_22211_device, "nes_txc_22211", "NES Cart TXC 22211 PCB") +DEFINE_DEVICE_TYPE(NES_TXC_DUMARACING, nes_txc_dumarc_device, "nes_txc_dumarc", "NES Cart TXC Du Ma Racing PCB") +DEFINE_DEVICE_TYPE(NES_TXC_MJBLOCK, nes_txc_mjblock_device, "nes_txc_mjblock", "NES Cart TXC Mahjong Block PCB") +DEFINE_DEVICE_TYPE(NES_TXC_STRIKEW, nes_txc_strikew_device, "nes_txc_strikew", "NES Cart TXC Strike Wolf PCB") +DEFINE_DEVICE_TYPE(NES_TXC_COMMANDOS, nes_txc_commandos_device, "nes_txc_comm", "NES Cart TXC Cart Commandos PCB") // and others -nes_txc_22211_device::nes_txc_22211_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source) - : nes_nrom_device(mconfig, type, name, tag, owner, clock, shortname, source) +nes_txc_22211_device::nes_txc_22211_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) + : nes_nrom_device(mconfig, type, tag, owner, clock) { } nes_txc_22211_device::nes_txc_22211_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : nes_nrom_device(mconfig, NES_TXC_22211, "NES Cart TXC 22211 PCB", tag, owner, clock, "nes_txc_22211", __FILE__) + : nes_nrom_device(mconfig, NES_TXC_22211, tag, owner, clock) { } nes_txc_dumarc_device::nes_txc_dumarc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : nes_txc_22211_device(mconfig, NES_TXC_DUMARACING, "NES Cart TXC Du Ma Racing PCB", tag, owner, clock, "nes_dumarc", __FILE__) + : nes_txc_22211_device(mconfig, NES_TXC_DUMARACING, tag, owner, clock) { } nes_txc_mjblock_device::nes_txc_mjblock_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : nes_txc_22211_device(mconfig, NES_TXC_MJBLOCK, "NES Cart TXC Mahjong Block PCB", tag, owner, clock, "nes_mjblock", __FILE__) + : nes_txc_22211_device(mconfig, NES_TXC_MJBLOCK, tag, owner, clock) { } nes_txc_strikew_device::nes_txc_strikew_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : nes_nrom_device(mconfig, NES_TXC_STRIKEW, "NES Cart Strike Wolf PCB", tag, owner, clock, "nes_txc_strikew", __FILE__) + : nes_nrom_device(mconfig, NES_TXC_STRIKEW, tag, owner, clock) { } nes_txc_commandos_device::nes_txc_commandos_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : nes_nrom_device(mconfig, NES_TXC_COMMANDOS, "NES Cart Commandos (and others) PCB", tag, owner, clock, "nes_txc_comm", __FILE__) + : nes_nrom_device(mconfig, NES_TXC_COMMANDOS, tag, owner, clock) { } |