summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/wpc_dmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/wpc_dmd.h')
-rw-r--r--src/mame/video/wpc_dmd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/video/wpc_dmd.h b/src/mame/video/wpc_dmd.h
index d995b9f27d4..312974f4fdd 100644
--- a/src/mame/video/wpc_dmd.h
+++ b/src/mame/video/wpc_dmd.h
@@ -10,8 +10,7 @@
#include "machine/timer.h"
-#define MCFG_WPC_DMD_ADD( _tag, _scanline_cb ) \
- MCFG_DEVICE_ADD( _tag, WPC_DMD, 0 ) \
+#define MCFG_WPC_DMD_SCANLINE_CALLBACK(_scanline_cb) \
devcb = &downcast<wpc_dmd_device &>(*device).set_scanline_cb(DEVCB_##_scanline_cb);
class wpc_dmd_device : public device_t