diff options
author | 2018-08-16 09:41:23 +0200 | |
---|---|---|
committer | 2018-08-16 09:41:30 +0200 | |
commit | 5ba993152ac02c303444c47fbeb0668b5940be8d (patch) | |
tree | e3815337368eadab75f92b9df4b8d0d1065831d7 /src/devices/machine/cs8221.h | |
parent | a72be15a3039d6c0499812322ea9c75a715c65e1 (diff) |
-bcreader, busmouse, cdp1852, cdp1871, cdp1879, cr511b, cs4031, cs8221, cxd1095: Removed MCFG, nw
Diffstat (limited to 'src/devices/machine/cs8221.h')
-rw-r--r-- | src/devices/machine/cs8221.h | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/src/devices/machine/cs8221.h b/src/devices/machine/cs8221.h index f93b2a50c58..39f5bfcd709 100644 --- a/src/devices/machine/cs8221.h +++ b/src/devices/machine/cs8221.h @@ -20,29 +20,18 @@ #pragma once - - -//************************************************************************** -// INTERFACE CONFIGURATION MACROS -//************************************************************************** - -#define MCFG_CS8221_ADD(_tag, _cputag, _isatag, _biostag) \ - MCFG_DEVICE_ADD(_tag, CS8221, 0) \ - downcast<cs8221_device &>(*device).set_cputag(_cputag); \ - downcast<cs8221_device &>(*device).set_isatag(_isatag); \ - downcast<cs8221_device &>(*device).set_biostag(_biostag); - - -//************************************************************************** -// TYPE DEFINITIONS -//************************************************************************** - -// ======================> cs8221_device - class cs8221_device : public device_t { public: // construction/destruction + cs8221_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock, const char *cputag, const char *isatag, const char *biostag) + : cs8221_device(mconfig, tag, owner, clock) + { + set_cputag(cputag); + set_isatag(isatag); + set_biostag(biostag); + } + cs8221_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // inline configuration @@ -80,8 +69,6 @@ private: DECLARE_WRITE8_MEMBER( data_w ); }; - -// device type definition DECLARE_DEVICE_TYPE(CS8221, cs8221_device) #endif // MAME_MACHINE_CS8221_H |