summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/snes_ppu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/snes_ppu.h')
-rw-r--r--src/devices/video/snes_ppu.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/devices/video/snes_ppu.h b/src/devices/video/snes_ppu.h
index 0fddff1a44f..baab1e264b1 100644
--- a/src/devices/video/snes_ppu.h
+++ b/src/devices/video/snes_ppu.h
@@ -44,7 +44,7 @@ public:
snes_ppu_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// inline configuration helpers
- template <class Object> devcb_base &set_open_bus_callback(Object &&cb) { return m_openbus_cb.set_callback(std::forward<Object>(cb)); }
+ auto open_bus_callback() { return m_openbus_cb.bind(); }
void refresh_scanline(bitmap_rgb32 &bitmap, uint16_t curline);
@@ -314,11 +314,4 @@ private:
DECLARE_DEVICE_TYPE(SNES_PPU, snes_ppu_device)
-/***************************************************************************
- INTERFACE CONFIGURATION MACROS
- ***************************************************************************/
-
-#define MCFG_SNES_PPU_OPENBUS_CB(_read) \
- devcb = &downcast<snes_ppu_device &>(*device).set_open_bus_callback(DEVCB_##_read);
-
#endif // MAME_VIDEO_SNES_PPU_H