summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/pokey.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/sound/pokey.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/sound/pokey.h')
-rw-r--r--src/devices/sound/pokey.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/pokey.h b/src/devices/sound/pokey.h
index 018394d3003..2c167fed057 100644
--- a/src/devices/sound/pokey.h
+++ b/src/devices/sound/pokey.h
@@ -66,7 +66,7 @@ public:
/* CONSTANT DEFINITIONS */
/* exact 1.79 MHz clock freq (of the Atari 800 that is) */
- static constexpr unsigned FREQ_17_EXACT = 1789790;
+ static constexpr auto FREQ_17_EXACT = XTAL::u(1789790);
enum
{
@@ -124,7 +124,7 @@ public:
};
// construction/destruction
- pokey_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ pokey_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
template <unsigned N> auto pot_r() { return m_pot_r_cb[N].bind(); }
auto allpot_r() { return m_allpot_r_cb.bind(); }