diff options
Diffstat (limited to 'src/devices/bus/apf/rom.cpp')
-rw-r--r-- | src/devices/bus/apf/rom.cpp | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/devices/bus/apf/rom.cpp b/src/devices/bus/apf/rom.cpp index 616d4d42146..113e5bf5259 100644 --- a/src/devices/bus/apf/rom.cpp +++ b/src/devices/bus/apf/rom.cpp @@ -17,30 +17,28 @@ // apf_rom_device - constructor //------------------------------------------------- -const device_type APF_ROM_STD = device_creator<apf_rom_device>; -const device_type APF_ROM_BASIC = device_creator<apf_basic_device>; -const device_type APF_ROM_SPACEDST = device_creator<apf_spacedst_device>; +DEFINE_DEVICE_TYPE(APF_ROM_STD, apf_rom_device, "apf_rom", "APF Standard Carts") +DEFINE_DEVICE_TYPE(APF_ROM_BASIC, apf_basic_device, "apf_basic", "APF BASIC Carts") +DEFINE_DEVICE_TYPE(APF_ROM_SPACEDST, apf_spacedst_device, "apf_spacedst", "APF Space Destroyer Cart") -apf_rom_device::apf_rom_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_apf_cart_interface( mconfig, *this ) +apf_rom_device::apf_rom_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_apf_cart_interface(mconfig, *this) { } apf_rom_device::apf_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : device_t(mconfig, APF_ROM_STD, "APF Standard Carts", tag, owner, clock, "apf_rom", __FILE__), - device_apf_cart_interface( mconfig, *this ) + : apf_rom_device(mconfig, APF_ROM_STD, tag, owner, clock) { } apf_basic_device::apf_basic_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : apf_rom_device(mconfig, APF_ROM_BASIC, "APF BASIC Carts", tag, owner, clock, "apf_basic", __FILE__) + : apf_rom_device(mconfig, APF_ROM_BASIC, tag, owner, clock) { } apf_spacedst_device::apf_spacedst_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : apf_rom_device(mconfig, APF_ROM_SPACEDST, "APF Space Destroyer Cart", tag, owner, clock, "apf_spacedst", __FILE__) + : apf_rom_device(mconfig, APF_ROM_SPACEDST, tag, owner, clock) { } |