diff options
Diffstat (limited to 'src/devices/bus/nubus/pds30_mc30.cpp')
-rw-r--r-- | src/devices/bus/nubus/pds30_mc30.cpp | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/devices/bus/nubus/pds30_mc30.cpp b/src/devices/bus/nubus/pds30_mc30.cpp index aaf61c68d3f..237a1df571f 100644 --- a/src/devices/bus/nubus/pds30_mc30.cpp +++ b/src/devices/bus/nubus/pds30_mc30.cpp @@ -35,7 +35,7 @@ ROM_END // GLOBAL VARIABLES //************************************************************************** -const device_type PDS030_XCEEDMC30 = device_creator<nubus_xceedmc30_device>; +DEFINE_DEVICE_TYPE(PDS030_XCEEDMC30, nubus_xceedmc30_device, "pd3_mclr", "Micron/XCEED Technology MacroColor 30") //------------------------------------------------- @@ -66,20 +66,17 @@ const tiny_rom_entry *nubus_xceedmc30_device::device_rom_region() const //------------------------------------------------- nubus_xceedmc30_device::nubus_xceedmc30_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, PDS030_XCEEDMC30, "Micron/XCEED Technology MacroColor 30", tag, owner, clock, "pd3_mclr", __FILE__), - device_video_interface(mconfig, *this), - device_nubus_card_interface(mconfig, *this), m_vram32(nullptr), m_mode(0), m_vbl_disable(0), m_toggle(0), m_count(0), m_clutoffs(0), m_timer(nullptr) + nubus_xceedmc30_device(mconfig, PDS030_XCEEDMC30, tag, owner, clock) { - m_assembled_tag = std::string(tag).append(":").append(XCEEDMC30_SCREEN_NAME); - m_screen_tag = m_assembled_tag.c_str(); } -nubus_xceedmc30_device::nubus_xceedmc30_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) : - device_t(mconfig, type, name, tag, owner, clock, shortname, source), - device_video_interface(mconfig, *this), - device_nubus_card_interface(mconfig, *this), m_vram32(nullptr), m_mode(0), m_vbl_disable(0), m_toggle(0), m_count(0), m_clutoffs(0), m_timer(nullptr) +nubus_xceedmc30_device::nubus_xceedmc30_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) : + device_t(mconfig, type, tag, owner, clock), + device_video_interface(mconfig, *this), + device_nubus_card_interface(mconfig, *this), + m_vram32(nullptr), m_mode(0), m_vbl_disable(0), m_toggle(0), m_count(0), m_clutoffs(0), m_timer(nullptr), + m_assembled_tag(util::string_format("%s:%s", tag, XCEEDMC30_SCREEN_NAME)) { - m_assembled_tag = std::string(tag).append(":").append(XCEEDMC30_SCREEN_NAME); m_screen_tag = m_assembled_tag.c_str(); } |