diff options
| author | 2026-04-05 04:46:59 -0400 | |
|---|---|---|
| committer | 2026-04-05 10:46:59 +0200 | |
| commit | ad7d7d1393507693c1ca6cfcb21799723840c96f (patch) | |
| tree | 112c7c711528a29f835ea47d70b95fe1dd2eef4f | |
| parent | ad86783ce19b346c6d987c35a2670640d6563736 (diff) | |
sinclair/specnext.cpp: Fixed CTC clock. (#15190)
| -rw-r--r-- | src/mame/sinclair/specnext.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/sinclair/specnext.cpp b/src/mame/sinclair/specnext.cpp index 8791c758fbe..33ed31b7d16 100644 --- a/src/mame/sinclair/specnext.cpp +++ b/src/mame/sinclair/specnext.cpp @@ -2645,7 +2645,6 @@ void specnext_state::nr_07_cpu_speed_w(u8 data) { m_nr_07_cpu_speed = data & 3; m_maincpu->set_clock_scale(1 << m_nr_07_cpu_speed); - m_ctc->set_clock_scale(1 << m_nr_07_cpu_speed); m_dma->set_clock_scale(1 << m_nr_07_cpu_speed); m_im2_line->set_clock_scale(1 << m_nr_07_cpu_speed); m_im2_ula->set_clock_scale(1 << m_nr_07_cpu_speed); @@ -4056,7 +4055,7 @@ void specnext_state::tbblue(machine_config &config) SPECNEXT_IM2(config, m_im2_ula); m_im2_ula->irq_callback().set(FUNC(specnext_state::irq_w)); - SPECNEXT_CTC(config, m_ctc, 28_MHz_XTAL / 8); + SPECNEXT_CTC(config, m_ctc, 28_MHz_XTAL); m_ctc->zc_callback<0>().set(m_ctc, FUNC(z80ctc_device::trg1)); m_ctc->zc_callback<1>().set(m_ctc, FUNC(z80ctc_device::trg2)); m_ctc->zc_callback<2>().set(m_ctc, FUNC(z80ctc_device::trg3)); |
