summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/kc/kc.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/bus/kc/kc.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/bus/kc/kc.h')
-rw-r--r--src/devices/bus/kc/kc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/kc/kc.h b/src/devices/bus/kc/kc.h
index fdb9cd467ce..45c8b52efac 100644
--- a/src/devices/bus/kc/kc.h
+++ b/src/devices/bus/kc/kc.h
@@ -49,14 +49,14 @@ public:
// construction/destruction
template <typename T>
kcexp_slot_device(machine_config const &mconfig, char const *tag, device_t *owner, T &&opts, char const *dflt)
- : kcexp_slot_device(mconfig, tag, owner, (uint32_t)0)
+ : kcexp_slot_device(mconfig, tag, owner)
{
option_reset();
opts(*this);
set_default_option(dflt);
set_fixed(false);
}
- kcexp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ kcexp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
virtual ~kcexp_slot_device();
auto irq() { return m_out_irq_cb.bind(); }
@@ -81,7 +81,7 @@ public:
devcb_write_line m_out_halt_cb;
protected:
- kcexp_slot_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+ kcexp_slot_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
// device-level overrides
virtual void device_validity_check(validity_checker &valid) const override;
@@ -100,14 +100,14 @@ public:
// construction/destruction
template <typename T>
kccart_slot_device(machine_config const &mconfig, char const *tag, device_t *owner, T &&opts, char const *dflt)
- : kccart_slot_device(mconfig, tag, owner, (uint32_t)0)
+ : kccart_slot_device(mconfig, tag, owner)
{
option_reset();
opts(*this);
set_default_option(dflt);
set_fixed(false);
}
- kccart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ kccart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
virtual ~kccart_slot_device();
// image-level overrides