summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/jaguar/jaguar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/jaguar/jaguar.h')
-rw-r--r--src/devices/cpu/jaguar/jaguar.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/devices/cpu/jaguar/jaguar.h b/src/devices/cpu/jaguar/jaguar.h
index 79c6b77bc1c..befb5a73334 100644
--- a/src/devices/cpu/jaguar/jaguar.h
+++ b/src/devices/cpu/jaguar/jaguar.h
@@ -61,14 +61,6 @@ enum
/***************************************************************************
- CONFIGURATION
-***************************************************************************/
-
-#define MCFG_JAGUAR_IRQ_HANDLER(_devcb) \
- downcast<jaguar_cpu_device &>(*device).set_int_func(DEVCB_##_devcb);
-
-
-/***************************************************************************
INTERRUPT CONSTANTS
***************************************************************************/
@@ -96,7 +88,7 @@ public:
~jaguar_cpu_device();
// configuration helpers
- template <class Object> devcb_base &set_int_func(Object &&cb) { return m_cpu_interrupt.set_callback(std::forward<Object>(cb)); }
+ auto irq() { return m_cpu_interrupt.bind(); }
virtual DECLARE_WRITE32_MEMBER(ctrl_w) = 0;
virtual DECLARE_READ32_MEMBER(ctrl_r) = 0;