diff options
Diffstat (limited to 'src/devices/bus/isa/vga_ati.cpp')
-rw-r--r-- | src/devices/bus/isa/vga_ati.cpp | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/devices/bus/isa/vga_ati.cpp b/src/devices/bus/isa/vga_ati.cpp index 3452f2eddf3..12a33581c77 100644 --- a/src/devices/bus/isa/vga_ati.cpp +++ b/src/devices/bus/isa/vga_ati.cpp @@ -68,9 +68,9 @@ ROM_END // GLOBAL VARIABLES //************************************************************************** -const device_type ISA16_VGA_GFXULTRA = device_creator<isa16_vga_gfxultra_device>; -const device_type ISA16_SVGA_GFXULTRAPRO = device_creator<isa16_vga_gfxultrapro_device>; -const device_type ISA16_SVGA_MACH64 = device_creator<isa16_vga_mach64_device>; +DEFINE_DEVICE_TYPE(ISA16_VGA_GFXULTRA, isa16_vga_gfxultra_device, "gfxulra", "ATi Graphics Ultra Card") +DEFINE_DEVICE_TYPE(ISA16_SVGA_GFXULTRAPRO, isa16_vga_gfxultrapro_device, "gfxxultrp", "ATi Graphics Ultra Pro Card") +DEFINE_DEVICE_TYPE(ISA16_SVGA_MACH64, isa16_vga_mach64_device, "mach64isa", "ATi mach64 Card") static MACHINE_CONFIG_FRAGMENT( vga_ati ) MCFG_SCREEN_ADD("screen", RASTER) @@ -150,20 +150,23 @@ const tiny_rom_entry *isa16_vga_mach64_device::device_rom_region() const //------------------------------------------------- isa16_vga_gfxultra_device::isa16_vga_gfxultra_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, ISA16_VGA_GFXULTRA, "ATi Graphics Ultra Card", tag, owner, clock, "gfxultra", __FILE__), - device_isa16_card_interface(mconfig, *this), m_vga(nullptr), m_8514(nullptr) + device_t(mconfig, ISA16_VGA_GFXULTRA, tag, owner, clock), + device_isa16_card_interface(mconfig, *this), + m_vga(nullptr), m_8514(nullptr) { } isa16_vga_gfxultrapro_device::isa16_vga_gfxultrapro_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, ISA16_SVGA_GFXULTRAPRO, "ATi Graphics Ultra Pro Card", tag, owner, clock, "gfxultrp", __FILE__), - device_isa16_card_interface(mconfig, *this), m_vga(nullptr) + device_t(mconfig, ISA16_SVGA_GFXULTRAPRO, tag, owner, clock), + device_isa16_card_interface(mconfig, *this), + m_vga(nullptr) { } isa16_vga_mach64_device::isa16_vga_mach64_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, ISA16_SVGA_MACH64, "ATi mach64 Card", tag, owner, clock, "mach64isa", __FILE__), - device_isa16_card_interface(mconfig, *this), m_vga(nullptr) + device_t(mconfig, ISA16_SVGA_MACH64, tag, owner, clock), + device_isa16_card_interface(mconfig, *this), + m_vga(nullptr) { } |