summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/mc6843.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/mc6843.h')
-rw-r--r--src/devices/machine/mc6843.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/machine/mc6843.h b/src/devices/machine/mc6843.h
index 63052970edb..29f3b862bda 100644
--- a/src/devices/machine/mc6843.h
+++ b/src/devices/machine/mc6843.h
@@ -15,6 +15,8 @@
#include "imagedev/flopdrv.h"
+#define MCFG_MC6843_IRQ_CALLBACK(_write) \
+ downcast<mc6843_device &>(*device).set_irq_wr_callback(DEVCB_##_write);
class mc6843_device : public device_t
{