diff options
Diffstat (limited to 'src/devices/bus/a7800/xboard.cpp')
-rw-r--r-- | src/devices/bus/a7800/xboard.cpp | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/src/devices/bus/a7800/xboard.cpp b/src/devices/bus/a7800/xboard.cpp index 5e3737aee61..c07e85e7cd0 100644 --- a/src/devices/bus/a7800/xboard.cpp +++ b/src/devices/bus/a7800/xboard.cpp @@ -53,30 +53,29 @@ // constructor //------------------------------------------------- -const device_type A78_XBOARD = device_creator<a78_xboard_device>; -const device_type A78_XM = device_creator<a78_xm_device>; +DEFINE_DEVICE_TYPE(A78_XBOARD, a78_xboard_device, "a78_xboard", "Atari 7800 XBoarD expansion") +DEFINE_DEVICE_TYPE(A78_XM, a78_xm_device, "a78_xm", "Atari 7800 XM expansion module") -a78_xboard_device::a78_xboard_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) - : a78_rom_device(mconfig, type, name, tag, owner, clock, shortname, source), - m_xbslot(*this, "xb_slot"), - m_pokey(*this, "xb_pokey"), m_reg(0), m_ram_bank(0) - { +a78_xboard_device::a78_xboard_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) + : a78_rom_device(mconfig, type, tag, owner, clock) + , m_xbslot(*this, "xb_slot") + , m_pokey(*this, "xb_pokey") + , m_reg(0), m_ram_bank(0) +{ } a78_xboard_device::a78_xboard_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : a78_rom_device(mconfig, A78_XBOARD, "Atari 7800 XBoarD expansion", tag, owner, clock, "a78_xboard", __FILE__), - m_xbslot(*this, "xb_slot"), - m_pokey(*this, "xb_pokey"), m_reg(0), m_ram_bank(0) - { + : a78_xboard_device(mconfig, A78_XBOARD, tag, owner, clock) +{ } a78_xm_device::a78_xm_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : a78_xboard_device(mconfig, A78_XM, "Atari 7800 XM expansion module", tag, owner, clock, "a78_xm", __FILE__), - m_ym(*this, "xm_ym2151"), m_ym_enabled(0) - { + : a78_xboard_device(mconfig, A78_XM, tag, owner, clock) + , m_ym(*this, "xm_ym2151"), m_ym_enabled(0) +{ } |