diff options
Diffstat (limited to 'src/devices/cpu/m37710')
-rw-r--r-- | src/devices/cpu/m37710/m37710.cpp | 16 | ||||
-rw-r--r-- | src/devices/cpu/m37710/m37710.h | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/src/devices/cpu/m37710/m37710.cpp b/src/devices/cpu/m37710/m37710.cpp index 6ca096d1e4f..9d0ed9ea66b 100644 --- a/src/devices/cpu/m37710/m37710.cpp +++ b/src/devices/cpu/m37710/m37710.cpp @@ -334,7 +334,7 @@ void m37732s4_device::map(address_map &map) // many other combinations of RAM and ROM size exist -m37710_cpu_device::m37710_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, address_map_constructor map_delegate) +m37710_cpu_device::m37710_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, address_map_constructor map_delegate) : cpu_device(mconfig, type, tag, owner, clock) , m_program_config("program", ENDIANNESS_LITTLE, 16, 24, 0, map_delegate) , m_port_in_cb(*this) @@ -344,40 +344,40 @@ m37710_cpu_device::m37710_cpu_device(const machine_config &mconfig, device_type } -m37702m2_device::m37702m2_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +m37702m2_device::m37702m2_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : m37702m2_device(mconfig, M37702M2, tag, owner, clock) { } -m37702m2_device::m37702m2_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) +m37702m2_device::m37702m2_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) : m37710_cpu_device(mconfig, type, tag, owner, clock, address_map_constructor(FUNC(m37702m2_device::map), this)) { } -m37702s1_device::m37702s1_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +m37702s1_device::m37702s1_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : m37710_cpu_device(mconfig, M37702S1, tag, owner, clock, address_map_constructor(FUNC(m37702s1_device::map), this)) { } -m37710s4_device::m37710s4_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +m37710s4_device::m37710s4_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : m37710_cpu_device(mconfig, M37710S4, tag, owner, clock, address_map_constructor(FUNC(m37710s4_device::map), this)) { } -m37720s1_device::m37720s1_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +m37720s1_device::m37720s1_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : m37710_cpu_device(mconfig, M37720S1, tag, owner, clock, address_map_constructor(FUNC(m37720s1_device::map), this)) { } -m37730s2_device::m37730s2_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +m37730s2_device::m37730s2_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : m37710_cpu_device(mconfig, M37730S2, tag, owner, clock, address_map_constructor(FUNC(m37730s2_device::map), this)) { } -m37732s4_device::m37732s4_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +m37732s4_device::m37732s4_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : m37710_cpu_device(mconfig, M37732S4, tag, owner, clock, address_map_constructor(FUNC(m37732s4_device::map), this)) { } diff --git a/src/devices/cpu/m37710/m37710.h b/src/devices/cpu/m37710/m37710.h index 6426c2eb54f..3ac8036c81c 100644 --- a/src/devices/cpu/m37710/m37710.h +++ b/src/devices/cpu/m37710/m37710.h @@ -197,7 +197,7 @@ protected: void set_int_control(int level, uint8_t data); // construction/destruction - m37710_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, address_map_constructor map_delegate); + m37710_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, address_map_constructor map_delegate); // device-level overrides virtual void device_start() override; @@ -2144,7 +2144,7 @@ class m37702s1_device : public m37710_cpu_device { public: // construction/destruction - m37702s1_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + m37702s1_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: void map(address_map &map); }; @@ -2153,9 +2153,9 @@ class m37702m2_device : public m37710_cpu_device { public: // construction/destruction - m37702m2_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + m37702m2_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: - m37702m2_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); + m37702m2_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock); void map(address_map &map); }; @@ -2163,7 +2163,7 @@ class m37710s4_device : public m37710_cpu_device { public: // construction/destruction - m37710s4_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + m37710s4_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: void map(address_map &map); }; @@ -2172,7 +2172,7 @@ class m37720s1_device : public m37710_cpu_device { public: // construction/destruction - m37720s1_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + m37720s1_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: void map(address_map &map); }; @@ -2181,7 +2181,7 @@ class m37730s2_device : public m37710_cpu_device { public: // construction/destruction - m37730s2_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + m37730s2_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: void map(address_map &map); }; @@ -2190,7 +2190,7 @@ class m37732s4_device : public m37710_cpu_device { public: // construction/destruction - m37732s4_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + m37732s4_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: void map(address_map &map); }; |