summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/superfx/superfx.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/cpu/superfx/superfx.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/cpu/superfx/superfx.h')
-rw-r--r--src/devices/cpu/superfx/superfx.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/superfx/superfx.h b/src/devices/cpu/superfx/superfx.h
index 54f07ec184f..17e3a93c197 100644
--- a/src/devices/cpu/superfx/superfx.h
+++ b/src/devices/cpu/superfx/superfx.h
@@ -105,7 +105,7 @@ public:
protected:
// construction/destruction
- superfx_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+ superfx_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;
@@ -203,7 +203,7 @@ private:
inline uint8_t superfx_op_read(uint16_t addr);
inline uint8_t superfx_peekpipe();
inline uint8_t superfx_pipe();
- inline void superfx_add_clocks_internal(uint32_t clocks);
+ inline void superfx_add_clocks_internal(const XTAL &clocks);
void superfx_timing_reset();
inline void superfx_dreg_sfr_sz_update();
};
@@ -212,7 +212,7 @@ class superfx1_device : public superfx_device
{
public:
// construction/destruction
- superfx1_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ superfx1_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
// device_execute_interface overrides
@@ -224,7 +224,7 @@ class superfx2_device : public superfx_device
{
public:
// construction/destruction
- superfx2_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ superfx2_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
DECLARE_DEVICE_TYPE(SUPERFX1, superfx1_device)