diff options
author | 2018-01-21 23:42:41 +0100 | |
---|---|---|
committer | 2018-01-23 10:25:25 +0100 | |
commit | 03ba80e0ef3e021f6ff89ef91ae5cdce4e24b994 (patch) | |
tree | f127b7f533d36df2484f82fcb05cef5f4c04f232 /src/devices/machine/6840ptm.h | |
parent | f61a64ea29bf46bf2deb2e1fbace5b24f3d7b0aa (diff) |
xtal.h is dead, long live to xtal.cpp [O. Galibert]
Diffstat (limited to 'src/devices/machine/6840ptm.h')
-rw-r--r-- | src/devices/machine/6840ptm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/machine/6840ptm.h b/src/devices/machine/6840ptm.h index 832f511179b..df91f393d7d 100644 --- a/src/devices/machine/6840ptm.h +++ b/src/devices/machine/6840ptm.h @@ -47,6 +47,7 @@ public: ptm6840_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); static void set_external_clocks(device_t &device, double clock0, double clock1, double clock2) { downcast<ptm6840_device &>(device).m_external_clock[0] = clock0; downcast<ptm6840_device &>(device).m_external_clock[1] = clock1; downcast<ptm6840_device &>(device).m_external_clock[2] = clock2; } + static void set_external_clocks(device_t &device, const XTAL &clock0, const XTAL &clock1, const XTAL &clock2) { set_external_clocks(device, clock0.dvalue(), clock1.dvalue(), clock2.dvalue()); } template <class Object> static devcb_base &set_out_callback(device_t &device, int index, Object &&cb) { return downcast<ptm6840_device &>(device).m_out_cb[index].set_callback(std::forward<Object>(cb)); } template <class Object> static devcb_base &set_irq_callback(device_t &device, Object &&cb) { return downcast<ptm6840_device &>(device).m_irq_cb.set_callback(std::forward<Object>(cb)); } |