diff options
author | 2019-01-10 18:59:34 +0100 | |
---|---|---|
committer | 2019-01-10 18:59:34 +0100 | |
commit | 180ae17f5deea20bd3e816882c2f41e5dcfb4a36 (patch) | |
tree | 67c3d981bd5e2fb8506e604fee86dfaf7f75b685 /src/devices/video/huc6270.h | |
parent | 952a17fc12fba54f54994cbd6485bdb91dd2de83 (diff) |
src/devices: more MCFG macros removal (nw)
Diffstat (limited to 'src/devices/video/huc6270.h')
-rw-r--r-- | src/devices/video/huc6270.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/devices/video/huc6270.h b/src/devices/video/huc6270.h index 2ee9e0d6259..cd3a9f7acee 100644 --- a/src/devices/video/huc6270.h +++ b/src/devices/video/huc6270.h @@ -12,12 +12,6 @@ #pragma once -#define MCFG_HUC6270_VRAM_SIZE(_size) \ - downcast<huc6270_device &>(*device).set_vram_size(_size); - -#define MCFG_HUC6270_IRQ_CHANGED_CB(_devcb) \ - downcast<huc6270_device &>(*device).set_irq_changed_callback(DEVCB_##_devcb); - class huc6270_device : public device_t { public: @@ -25,7 +19,6 @@ public: huc6270_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); void set_vram_size(uint32_t vram_size) { m_vram_size = vram_size; } - template <class Object> devcb_base &set_irq_changed_callback(Object &&cb) { return m_irq_changed_cb.set_callback(std::forward<Object>(cb)); } auto irq() { return m_irq_changed_cb.bind(); } DECLARE_READ8_MEMBER( read ); |