diff options
Diffstat (limited to 'src/devices/machine/applefdc.cpp')
-rw-r--r-- | src/devices/machine/applefdc.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/machine/applefdc.cpp b/src/devices/machine/applefdc.cpp index 6d9d10fbd13..681dcc525ed 100644 --- a/src/devices/machine/applefdc.cpp +++ b/src/devices/machine/applefdc.cpp @@ -106,8 +106,8 @@ enum // ctor //------------------------------------------------- -applefdc_base_device::applefdc_base_device(applefdc_base_device::applefdc_t fdc_type, 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), +applefdc_base_device::applefdc_base_device(applefdc_base_device::applefdc_t fdc_type, const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) + : device_t(mconfig, type, tag, owner, clock), m_type(fdc_type), m_interface(nullptr) { @@ -565,10 +565,10 @@ uint8_t applefdc_base_device::get_lines() APPLE FDC - Used on Apple II ***************************************************************************/ -const device_type APPLEFDC = device_creator<applefdc_device>; +DEFINE_DEVICE_TYPE(APPLEFDC, applefdc_device, "apple_fdc", "Apple FDC") applefdc_device::applefdc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : applefdc_base_device(APPLEFDC_APPLE2, mconfig, APPLEFDC, "Apple FDC", tag, owner, clock, "apple_fdc", __FILE__) + : applefdc_base_device(APPLEFDC_APPLE2, mconfig, APPLEFDC, tag, owner, clock) { } @@ -578,9 +578,9 @@ applefdc_device::applefdc_device(const machine_config &mconfig, const char *tag, IWM - Used on early Macs ***************************************************************************/ -const device_type IWM = device_creator<iwm_device>; +DEFINE_DEVICE_TYPE(IWM, iwm_device, "iwm", "Apple IWM (Integrated Woz Machine)") iwm_device::iwm_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : applefdc_base_device(APPLEFDC_IWM, mconfig, IWM, "Apple IWM (Integrated Woz Machine)", tag, owner, clock, "iwm", __FILE__) + : applefdc_base_device(APPLEFDC_IWM, mconfig, IWM, tag, owner, clock) { } |