diff options
author | 2022-06-16 12:47:52 +0200 | |
---|---|---|
committer | 2025-04-29 23:06:41 +0200 | |
commit | 45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch) | |
tree | 4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/sound/discrete.h | |
parent | 5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff) |
full xtal conversionxtal
Diffstat (limited to 'src/devices/sound/discrete.h')
-rw-r--r-- | src/devices/sound/discrete.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/sound/discrete.h b/src/devices/sound/discrete.h index eebc4936df7..6b55107fe74 100644 --- a/src/devices/sound/discrete.h +++ b/src/devices/sound/discrete.h @@ -4180,7 +4180,7 @@ class discrete_device : public device_t { protected: // construction/destruction - discrete_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); + discrete_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock); public: typedef std::vector<std::unique_ptr<discrete_task> > task_list_t; @@ -4280,17 +4280,17 @@ class discrete_sound_device : public discrete_device, { public: // construction/destruction - discrete_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock, const discrete_block *intf) + discrete_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock, const discrete_block *intf) : discrete_sound_device(mconfig, tag, owner, clock) { set_intf(intf); } discrete_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, const discrete_block *intf) - : discrete_sound_device(mconfig, tag, owner, uint32_t(0)) + : discrete_sound_device(mconfig, tag, owner) { set_intf(intf); } - discrete_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0); + discrete_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL()); virtual ~discrete_sound_device() { } /* --------------------------------- */ |