summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/gen_latch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/gen_latch.h')
-rw-r--r--src/devices/machine/gen_latch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/gen_latch.h b/src/devices/machine/gen_latch.h
index fc217410d06..9aa66bd45f0 100644
--- a/src/devices/machine/gen_latch.h
+++ b/src/devices/machine/gen_latch.h
@@ -41,7 +41,7 @@ public:
protected:
// construction/destruction
- generic_latch_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock);
+ generic_latch_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
virtual void device_start() override;
virtual void device_reset() override;
@@ -65,7 +65,7 @@ class generic_latch_8_device : public generic_latch_base_device
{
public:
// construction/destruction
- generic_latch_8_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock = 0);
+ generic_latch_8_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
u8 read();
void write(u8 data);
@@ -91,7 +91,7 @@ class generic_latch_16_device : public generic_latch_base_device
{
public:
// construction/destruction
- generic_latch_16_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock = 0);
+ generic_latch_16_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
u16 read();
void write(u16 data);