summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pc8801/pcg8100.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/pc8801/pcg8100.cpp')
-rw-r--r--src/devices/bus/pc8801/pcg8100.cpp4
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);