summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/6840ptm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/6840ptm.h')
-rw-r--r--src/devices/machine/6840ptm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/6840ptm.h b/src/devices/machine/6840ptm.h
index 614901625a4..788526df72a 100644
--- a/src/devices/machine/6840ptm.h
+++ b/src/devices/machine/6840ptm.h
@@ -24,9 +24,8 @@ class ptm6840_device : public device_t
{
public:
// construction/destruction
- ptm6840_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ ptm6840_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
- void set_external_clocks(double clock0, double clock1, double clock2) { m_external_clock[0] = clock0; m_external_clock[1] = clock1; m_external_clock[2] = clock2; }
void set_external_clocks(const XTAL &clock0, const XTAL &clock1, const XTAL &clock2) { set_external_clocks(clock0.dvalue(), clock1.dvalue(), clock2.dvalue()); }
auto o1_callback() { return m_out_cb[0].bind(); }
auto o2_callback() { return m_out_cb[1].bind(); }
@@ -61,6 +60,7 @@ protected:
virtual void device_resolve_objects() override;
private:
+ void set_external_clocks(double clock0, double clock1, double clock2) { m_external_clock[0] = clock0; m_external_clock[1] = clock1; m_external_clock[2] = clock2; }
void deduct_from_counter(int idx);
void tick(int counter);
TIMER_CALLBACK_MEMBER(state_changed);