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/bus/pc8801/pcg8100.cpp | |
parent | 5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff) |
full xtal conversionxtal
Diffstat (limited to 'src/devices/bus/pc8801/pcg8100.cpp')
-rw-r--r-- | src/devices/bus/pc8801/pcg8100.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/pc8801/pcg8100.cpp b/src/devices/bus/pc8801/pcg8100.cpp index c2bf07c7f73..bc565d988fe 100644 --- a/src/devices/bus/pc8801/pcg8100.cpp +++ b/src/devices/bus/pc8801/pcg8100.cpp @@ -15,7 +15,7 @@ DEFINE_DEVICE_TYPE(PCG8100, pcg8100_device, "pcg8100", "HAL Laboratory PCG-8100") -pcg8100_device::pcg8100_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +pcg8100_device::pcg8100_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : pc8801_exp_device(mconfig, PCG8100, tag, owner, clock) , m_pit(*this, "pit") , m_dac1bit(*this, "dac1bit%u", 0L) @@ -35,7 +35,7 @@ void pcg8100_device::device_add_mconfig(machine_config &config) { constexpr XTAL pcg_clock = XTAL(31'948'800) / 8; - PIT8253(config, m_pit, 0); + PIT8253(config, m_pit); m_pit->set_clk<0>(pcg_clock); m_pit->out_handler<0>().set(m_dac1bit[0], FUNC(speaker_sound_device::level_w)); m_pit->set_clk<1>(pcg_clock); |