summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nes/datach.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/nes/datach.h')
-rw-r--r--src/devices/bus/nes/datach.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/nes/datach.h b/src/devices/bus/nes/datach.h
index 80770904596..362654708ca 100644
--- a/src/devices/bus/nes/datach.h
+++ b/src/devices/bus/nes/datach.h
@@ -53,7 +53,7 @@ class nes_datach_slot_device : public device_t,
public:
// construction/destruction
template <typename T>
- nes_datach_slot_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock, T &&opts)
+ nes_datach_slot_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock, T &&opts)
: nes_datach_slot_device(mconfig, tag, owner, clock)
{
option_reset();
@@ -61,7 +61,7 @@ public:
set_default_option(nullptr);
set_fixed(false);
}
- nes_datach_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ nes_datach_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual ~nes_datach_slot_device();
// image-level overrides
@@ -100,14 +100,14 @@ class nes_datach_rom_device : public device_t, public datach_cart_interface
{
public:
// construction/destruction
- nes_datach_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ nes_datach_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
// optional information overrides
virtual const tiny_rom_entry *device_rom_region() const override;
virtual uint8_t* get_cart_base();
protected:
- nes_datach_rom_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+ nes_datach_rom_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
// device-level overrides
virtual void device_start() override;
@@ -120,7 +120,7 @@ class nes_datach_24c01_device : public nes_datach_rom_device
{
public:
// construction/destruction
- nes_datach_24c01_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ nes_datach_24c01_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
// optional information overrides
@@ -144,7 +144,7 @@ class nes_datach_device : public nes_lz93d50_device
{
public:
// construction/destruction
- nes_datach_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ nes_datach_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual uint8_t read_m(offs_t offset) override;
virtual uint8_t read_h(offs_t offset) override;