summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/m6502.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/m6502.h')
-rw-r--r--src/devices/cpu/m6502/m6502.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/m6502/m6502.h b/src/devices/cpu/m6502/m6502.h
index 4b05d7a0846..445050e739e 100644
--- a/src/devices/cpu/m6502/m6502.h
+++ b/src/devices/cpu/m6502/m6502.h
@@ -35,7 +35,7 @@ public:
virtual void write_9(uint16_t adr, uint8_t val);
};
- m6502_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ m6502_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
void set_address_width(int width, bool custom_interface) {
program_config.m_addr_width = width;
@@ -54,7 +54,7 @@ public:
devcb_write_line sync_w;
protected:
- m6502_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+ m6502_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
class mi_default : public memory_interface {
public:
@@ -278,7 +278,7 @@ protected:
class m6502_mcu_device : public m6502_device {
protected:
- m6502_mcu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+ m6502_mcu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
void internal_update() { internal_update(total_cycles()); }
virtual void internal_update(uint64_t current_time) = 0;
@@ -290,7 +290,7 @@ protected:
class m6512_device : public m6502_device {
public:
- m6512_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ m6512_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
enum {