summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/applefdc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/applefdc.h')
-rw-r--r--src/devices/machine/applefdc.h32
1 files changed, 6 insertions, 26 deletions
diff --git a/src/devices/machine/applefdc.h b/src/devices/machine/applefdc.h
index eede57199f7..87cc89f36dc 100644
--- a/src/devices/machine/applefdc.h
+++ b/src/devices/machine/applefdc.h
@@ -124,6 +124,12 @@ private:
class applefdc_device : public applefdc_base_device
{
public:
+ applefdc_device(const machine_config &mconfig, const char *tag, device_t *owner, const applefdc_interface *intrf)
+ : applefdc_device(mconfig, tag, owner, (uint32_t)0)
+ {
+ set_config(intrf);
+ }
+
applefdc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
};
@@ -145,30 +151,4 @@ public:
iwm_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
};
-
-
-/***************************************************************************
- DEVICE CONFIGURATION MACROS
-***************************************************************************/
-
-#define MCFG_APPLEFDC_CONFIG(_intrf) \
- downcast<applefdc_base_device &>(*device).set_config(&(_intrf));
-
-#define MCFG_APPLEFDC_ADD(_tag, _intrf) \
- MCFG_DEVICE_ADD(_tag, APPLEFDC, 0) \
- MCFG_APPLEFDC_CONFIG(_intrf)
-
-#define MCFG_APPLEFDC_MODIFY(_tag, _intrf) \
- MCFG_DEVICE_MODIFY(_tag) \
- MCFG_APPLEFDC_CONFIG(_intrf)
-
-#define MCFG_IWM_ADD(_tag, _intrf) \
- MCFG_DEVICE_ADD(_tag, IWM, 0) \
- MCFG_APPLEFDC_CONFIG(_intrf)
-
-#define MCFG_IWM_MODIFY(_tag, _intrf) \
- MCFG_DEVICE_MODIFY(_tag) \
- MCFG_APPLEFDC_CONFIG(_intrf)
-
-
#endif // MAME_MACHINE_APPLEFDC_H