summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/adc0804.h
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2022-06-16 12:47:52 +0200
committer Olivier Galibert <galibert@pobox.com>2025-04-29 23:06:41 +0200
commit45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch)
tree4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/machine/adc0804.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/machine/adc0804.h')
-rw-r--r--src/devices/machine/adc0804.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/machine/adc0804.h b/src/devices/machine/adc0804.h
index d8fe6ad950e..8c7ffc56b12 100644
--- a/src/devices/machine/adc0804.h
+++ b/src/devices/machine/adc0804.h
@@ -42,9 +42,9 @@ public:
};
// device type constructors
- adc0804_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ adc0804_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
adc0804_device(const machine_config &mconfig, const char *tag, device_t *owner, double r, double c)
- : adc0804_device(mconfig, tag, owner, 0U)
+ : adc0804_device(mconfig, tag, owner)
{
set_rc(r, c);
}
@@ -70,7 +70,7 @@ public:
DECLARE_READ_LINE_MEMBER(intr_r) { return m_intr_active ? 0 : 1; }
protected:
- adc0804_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock);
+ adc0804_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
// device-level overrides
virtual void device_resolve_objects() override;
@@ -110,9 +110,9 @@ class adc0803_device : public adc0804_device
{
public:
// device type constructors
- adc0803_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ adc0803_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
adc0803_device(const machine_config &mconfig, const char *tag, device_t *owner, double r, double c)
- : adc0803_device(mconfig, tag, owner, 0U)
+ : adc0803_device(mconfig, tag, owner)
{
set_rc(r, c);
}