diff options
Diffstat (limited to 'src/devices/bus/apf')
-rw-r--r-- | src/devices/bus/apf/rom.cpp | 8 | ||||
-rw-r--r-- | src/devices/bus/apf/rom.h | 8 | ||||
-rw-r--r-- | src/devices/bus/apf/slot.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/apf/slot.h | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/src/devices/bus/apf/rom.cpp b/src/devices/bus/apf/rom.cpp index 509aa30f458..1897646acc2 100644 --- a/src/devices/bus/apf/rom.cpp +++ b/src/devices/bus/apf/rom.cpp @@ -22,22 +22,22 @@ DEFINE_DEVICE_TYPE(APF_ROM_BASIC, apf_basic_device, "apf_basic", "APF B DEFINE_DEVICE_TYPE(APF_ROM_SPACEDST, apf_spacedst_device, "apf_spacedst", "APF Space Destroyer Cart") -apf_rom_device::apf_rom_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) +apf_rom_device::apf_rom_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, type, tag, owner, clock), device_apf_cart_interface(mconfig, *this) { } -apf_rom_device::apf_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +apf_rom_device::apf_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : apf_rom_device(mconfig, APF_ROM_STD, tag, owner, clock) { } -apf_basic_device::apf_basic_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +apf_basic_device::apf_basic_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : apf_rom_device(mconfig, APF_ROM_BASIC, tag, owner, clock) { } -apf_spacedst_device::apf_spacedst_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +apf_spacedst_device::apf_spacedst_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : apf_rom_device(mconfig, APF_ROM_SPACEDST, tag, owner, clock) { } diff --git a/src/devices/bus/apf/rom.h b/src/devices/bus/apf/rom.h index ab129289493..b53053ec951 100644 --- a/src/devices/bus/apf/rom.h +++ b/src/devices/bus/apf/rom.h @@ -13,13 +13,13 @@ class apf_rom_device : public device_t, { public: // construction/destruction - apf_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + apf_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); // reading and writing virtual uint8_t read_rom(offs_t offset) override; protected: - apf_rom_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); + apf_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 { } @@ -32,7 +32,7 @@ class apf_basic_device : public apf_rom_device { public: // construction/destruction - apf_basic_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + apf_basic_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); // reading and writing virtual uint8_t extra_rom(offs_t offset) override; @@ -44,7 +44,7 @@ class apf_spacedst_device : public apf_rom_device { public: // construction/destruction - apf_spacedst_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + apf_spacedst_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); // reading and writing virtual uint8_t read_ram(offs_t offset) override; diff --git a/src/devices/bus/apf/slot.cpp b/src/devices/bus/apf/slot.cpp index 62c8c7c02e9..b26af6f57da 100644 --- a/src/devices/bus/apf/slot.cpp +++ b/src/devices/bus/apf/slot.cpp @@ -71,7 +71,7 @@ void device_apf_cart_interface::ram_alloc(uint32_t size) //------------------------------------------------- // apf_cart_slot_device - constructor //------------------------------------------------- -apf_cart_slot_device::apf_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : +apf_cart_slot_device::apf_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, APF_CART_SLOT, tag, owner, clock), device_cartrom_image_interface(mconfig, *this), device_single_card_slot_interface<device_apf_cart_interface>(mconfig, *this), diff --git a/src/devices/bus/apf/slot.h b/src/devices/bus/apf/slot.h index 886135cb62b..40f6df0c66b 100644 --- a/src/devices/bus/apf/slot.h +++ b/src/devices/bus/apf/slot.h @@ -61,7 +61,7 @@ public: // construction/destruction template <typename T> apf_cart_slot_device(machine_config const &mconfig, char const *tag, device_t *owner, T &&opts, char const *dflt) - : apf_cart_slot_device(mconfig, tag, owner, 0) + : apf_cart_slot_device(mconfig, tag, owner) { option_reset(); opts(*this); @@ -69,7 +69,7 @@ public: set_fixed(false); } - apf_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0); + apf_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL()); virtual ~apf_cart_slot_device(); // image-level overrides |