diff options
author | Vas Crabb <vas@vastheman.com> | 2018-05-10 00:30:00 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2018-05-10 00:30:00 +1000 |
commit | e93b99f9364f34bc2b47e389d0afaa61a3f2f307 (patch) | |
tree | c3b3ca56af7b43f0a70aeab52ec5bde087670eeb /src/devices/video | |
parent | 21cadd2246cbc2e0117233b200d1735b31cb4e77 (diff) |
(nw) remove more low-value macros and add a couple more constructor options
Diffstat (limited to 'src/devices/video')
-rw-r--r-- | src/devices/video/nt7534.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/devices/video/nt7534.h b/src/devices/video/nt7534.h index 210ca50552c..06e37d2bd26 100644 --- a/src/devices/video/nt7534.h +++ b/src/devices/video/nt7534.h @@ -12,9 +12,6 @@ #pragma once -#define MCFG_NT7534_ADD( _tag ) \ - MCFG_DEVICE_ADD( _tag, NT7534, 0 ) - #define MCFG_NT7534_PIXEL_UPDATE_CB(_class, _method) \ downcast<nt7534_device &>(*device).set_pixel_update_cb(nt7534_device::pixel_update_delegate(&_class::_method, #_class "::" #_method, this)); @@ -33,7 +30,7 @@ public: typedef device_delegate<void (bitmap_ind16 &bitmap, uint8_t line, uint8_t pos, uint8_t y, uint8_t x, int state)> pixel_update_delegate; // construction/destruction - nt7534_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + nt7534_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0); template <typename Object> void set_pixel_update_cb(Object &&cb) { m_pixel_update_cb = std::forward<Object>(cb); } |