summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/74157.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/74157.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/machine/74157.h')
-rw-r--r--src/devices/machine/74157.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/machine/74157.h b/src/devices/machine/74157.h
index da34d879221..d34b54704a2 100644
--- a/src/devices/machine/74157.h
+++ b/src/devices/machine/74157.h
@@ -35,7 +35,7 @@ class ls157_device : public device_t
{
public:
// construction/destruction
- ls157_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock = 0);
+ ls157_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
auto a_in_callback() { return m_a_in_cb.bind(); }
auto b_in_callback() { return m_b_in_cb.bind(); }
@@ -66,7 +66,7 @@ public:
u8 output_r();
protected:
- ls157_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, u8 mask);
+ ls157_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, u8 mask);
// device-level overrides
virtual void device_start() override;
@@ -96,7 +96,7 @@ class ls157_x2_device : public ls157_device
{
public:
// construction/destruction
- ls157_x2_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock = 0);
+ ls157_x2_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
};
// ======================> hc157_device
@@ -105,7 +105,7 @@ class hc157_device : public ls157_device
{
public:
// construction/destruction
- hc157_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock = 0);
+ hc157_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
};
// ======================> hct157_device
@@ -114,7 +114,7 @@ class hct157_device : public ls157_device
{
public:
// construction/destruction
- hct157_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock = 0);
+ hct157_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
};