summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/nsc810.h
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-01-21 23:42:41 +0100
committer Olivier Galibert <galibert@pobox.com>2018-01-23 10:25:25 +0100
commit03ba80e0ef3e021f6ff89ef91ae5cdce4e24b994 (patch)
treef127b7f533d36df2484f82fcb05cef5f4c04f232 /src/devices/machine/nsc810.h
parentf61a64ea29bf46bf2deb2e1fbace5b24f3d7b0aa (diff)
xtal.h is dead, long live to xtal.cpp [O. Galibert]
Diffstat (limited to 'src/devices/machine/nsc810.h')
-rw-r--r--src/devices/machine/nsc810.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/machine/nsc810.h b/src/devices/machine/nsc810.h
index d029e56bced..f2fd3b9b699 100644
--- a/src/devices/machine/nsc810.h
+++ b/src/devices/machine/nsc810.h
@@ -28,7 +28,9 @@ public:
template <class Object> static devcb_base &set_timer1_callback(device_t &device, Object &&cb) { return downcast<nsc810_device &>(device).m_timer1_out.set_callback(std::forward<Object>(cb)); }
void set_timer0_clock(uint32_t clk) { m_timer0_clock = clk; }
+ void set_timer0_clock(const XTAL &clk) { set_timer0_clock(clk.value()); }
void set_timer1_clock(uint32_t clk) { m_timer1_clock = clk; }
+ void set_timer1_clock(const XTAL &clk) { set_timer1_clock(clk.value()); }
DECLARE_READ8_MEMBER(read);
DECLARE_WRITE8_MEMBER(write);