diff options
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/sound/msm5205.h | 6 | ||||
-rw-r--r-- | src/devices/video/huc6260.h | 4 | ||||
-rw-r--r-- | src/devices/video/huc6270.h | 1 |
3 files changed, 5 insertions, 6 deletions
diff --git a/src/devices/sound/msm5205.h b/src/devices/sound/msm5205.h index 073ce06f7a3..7bdb0544af1 100644 --- a/src/devices/sound/msm5205.h +++ b/src/devices/sound/msm5205.h @@ -16,12 +16,6 @@ #define MCFG_MSM5205_VCLK_CB(cb) \ downcast<msm5205_device &>(*device).set_vck_legacy_callback((DEVCB_##cb)); -#define MCFG_MSM6585_PRESCALER_SELECTOR(select) \ - downcast<msm5205_device &>(*device).set_prescaler_selector((msm6585_device::select)); - -#define MCFG_MSM6585_VCK_CALLBACK(cb) \ - downcast<msm5205_device &>(*device).set_vck_callback((DEVCB_##cb)); - class msm5205_device : public device_t, public device_sound_interface { diff --git a/src/devices/video/huc6260.h b/src/devices/video/huc6260.h index 1e97e258146..8737d0432cf 100644 --- a/src/devices/video/huc6260.h +++ b/src/devices/video/huc6260.h @@ -44,6 +44,10 @@ public: template <class Object> devcb_base &set_time_til_next_event_callback(Object &&cb) { return m_time_til_next_event_cb.set_callback(std::forward<Object>(cb)); } template <class Object> devcb_base &set_vsync_changed_callback(Object &&cb) { return m_vsync_changed_cb.set_callback(std::forward<Object>(cb)); } template <class Object> devcb_base &set_hsync_changed_callback(Object &&cb) { return m_hsync_changed_cb.set_callback(std::forward<Object>(cb)); } + auto next_pixel_data() { return m_next_pixel_data_cb.bind(); } + auto time_til_next_event() { return m_time_til_next_event_cb.bind(); } + auto vsync_changed() { return m_vsync_changed_cb.bind(); } + auto hsync_changed() { return m_hsync_changed_cb.bind(); } void video_update(bitmap_ind16 &bitmap, const rectangle &cliprect); DECLARE_READ8_MEMBER( read ); diff --git a/src/devices/video/huc6270.h b/src/devices/video/huc6270.h index 77c15515175..2ee9e0d6259 100644 --- a/src/devices/video/huc6270.h +++ b/src/devices/video/huc6270.h @@ -26,6 +26,7 @@ public: 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 ); DECLARE_WRITE8_MEMBER( write ); |