summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/gp9001.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/gp9001.h')
-rw-r--r--src/mame/video/gp9001.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/video/gp9001.h b/src/mame/video/gp9001.h
index d022f0ac5d4..2b737aba8f2 100644
--- a/src/mame/video/gp9001.h
+++ b/src/mame/video/gp9001.h
@@ -20,10 +20,11 @@ class gp9001vdp_device : public device_t,
};
public:
+ typedef device_delegate<void (u8 layer, u32 &code)> gp9001_cb_delegate;
+
gp9001vdp_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
- typedef device_delegate<void (u8 layer, u32 &code)> gp9001_cb_delegate;
- void set_tile_callback(gp9001_cb_delegate cb) { m_gp9001_cb = cb; }
+ template <typename... T> void set_tile_callback(T &&... args) { m_gp9001_cb.set(std::forward<T>(args)...); }
auto vint_out_cb() { return m_vint_out_cb.bind(); }