summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/lh5801/lh5801.h
diff options
context:
space:
mode:
author mooglyguy <therealmogminer@gmail.com>2018-12-17 01:30:26 +0100
committer mooglyguy <therealmogminer@gmail.com>2018-12-17 01:30:26 +0100
commit7e4070f563b5b60842ddd3080df4fb59487e2af8 (patch)
treebaf41095fc80722a434dbdbf54698e7241fefe15 /src/devices/cpu/lh5801/lh5801.h
parentb844b7281d7a78aac022e2100693be7a4eedf798 (diff)
-bus/gameboy/gb_slot, ieee488/hp9895, psx/gamebooster, snes/sgb: Removed MCFG and MACHINE_CONFIG macros. [Ryan Holtz]
-cpu/jaguar, lh5801, lr35902, z80: Removed MCFG macros. [Ryan Holtz] -video/sed1520: Removed MCFG macros. [Ryan Holtz] -drivers/gb, jaguar, monty, osborne1, pc1500, pc2000, popeye: Removed MACHINE_CONFIG macros. [Ryan Holtz]
Diffstat (limited to 'src/devices/cpu/lh5801/lh5801.h')
-rw-r--r--src/devices/cpu/lh5801/lh5801.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/devices/cpu/lh5801/lh5801.h b/src/devices/cpu/lh5801/lh5801.h
index 02a359b6cb1..cb3237027b3 100644
--- a/src/devices/cpu/lh5801/lh5801.h
+++ b/src/devices/cpu/lh5801/lh5801.h
@@ -60,10 +60,6 @@ enum
};
-#define MCFG_LH5801_IN(_devcb) \
- downcast<lh5801_cpu_device &>(*device).set_in_func(DEVCB_##_devcb);
-
-
class lh5801_cpu_device : public cpu_device
{
public:
@@ -71,7 +67,7 @@ public:
lh5801_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// configuration helpers
- template <class Object> devcb_base &set_in_func(Object &&cb) { return m_in_func.set_callback(std::forward<Object>(cb)); }
+ auto in_func() { return m_in_func.bind(); }
protected:
// device-level overrides