diff options
Diffstat (limited to 'src/mame/machine/c117.h')
-rw-r--r-- | src/mame/machine/c117.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/mame/machine/c117.h b/src/mame/machine/c117.h index 9432aa845c2..790c76b9900 100644 --- a/src/mame/machine/c117.h +++ b/src/mame/machine/c117.h @@ -9,17 +9,6 @@ #include "machine/watchdog.h" -//************************************************************************** -// INTERFACE CONFIGURATION MACROS -//************************************************************************** - -#define MCFG_CUS117_CPUS(_maincpu, _subcpu) \ - downcast<namco_c117_device &>(*device).set_cpu_tags(_maincpu, _subcpu); - -#define MCFG_CUS117_SUBRES_CB(_devcb) \ - downcast<namco_c117_device &>(*device).set_subres_cb(DEVCB_##_devcb); - - //*************************************************************************** // TYPE DEFINITIONS //*************************************************************************** @@ -38,7 +27,7 @@ public: m_maincpu_tag = maintag; m_subcpu_tag = subtag; } - template <class Object> devcb_base &set_subres_cb(Object &&cb) { return m_subres_cb.set_callback(std::forward<Object>(cb)); } + auto subres_cb() { return m_subres_cb.bind(); } DECLARE_READ8_MEMBER(main_r); DECLARE_READ8_MEMBER(sub_r); |