diff options
Diffstat (limited to 'src/devices/video/tlc34076.h')
-rw-r--r-- | src/devices/video/tlc34076.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/devices/video/tlc34076.h b/src/devices/video/tlc34076.h index 7c4b021bd27..fb816dd1181 100644 --- a/src/devices/video/tlc34076.h +++ b/src/devices/video/tlc34076.h @@ -41,8 +41,8 @@ public: void set_bits(tlc34076_bits bits) { m_dacbits = bits; } // public interface - u8 read(offs_t offset); - void write(offs_t offset, u8 data); + DECLARE_READ8_MEMBER(read); + DECLARE_WRITE8_MEMBER(write); protected: // device-level overrides @@ -66,6 +66,15 @@ private: }; +/*************************************************************************** + DEVICE CONFIGURATION MACROS +***************************************************************************/ + +#define MCFG_TLC34076_ADD(tag, bits) \ + MCFG_DEVICE_ADD((tag), TLC34076, 0) \ + downcast<tlc34076_device &>(*device).set_bits((tlc34076_device::bits)); + + DECLARE_DEVICE_TYPE(TLC34076, tlc34076_device) #endif // MAME_VIDEO_TLC34076_H |