that's a time, not a crystal, and I'm not doing eight overloads (nw)

This commit is contained in:
Vas Crabb 2018-01-26 18:24:34 +11:00
parent 1c92473f25
commit b63c459902
2 changed files with 3 additions and 3 deletions

View File

@ -687,7 +687,7 @@ void venture_sound_device::device_start()
m_cvsd = machine().device<hc55516_device>("cvsd");
/* 8253 */
m_freq_to_step = ((1 << 24) / SH8253_CLOCK).dvalue();
m_freq_to_step = (1 << 24) / SH8253_CLOCK;
save_item(NAME(m_riot_irq_state));
sh8253_register_state_globals();
@ -937,7 +937,7 @@ void victory_sound_device::device_start()
m_cvsd = machine().device<hc55516_device>("cvsd");
/* 8253 */
m_freq_to_step = ((1 << 24) / SH8253_CLOCK).dvalue();
m_freq_to_step = (1 << 24) / SH8253_CLOCK;
save_item(NAME(m_riot_irq_state));
sh8253_register_state_globals();

View File

@ -2809,7 +2809,7 @@ MACHINE_CONFIG_START(cmi_state::cmi2x)
MCFG_PIA_IRQB_HANDLER(WRITELINE(cmi_state, pia_q219_irqb))
MCFG_DEVICE_ADD("q219_ptm", PTM6840, 2000000) // ptm_q219_config
MCFG_PTM6840_EXTERNAL_CLOCKS(HBLANK_FREQ, VBLANK_FREQ, 1000000)
MCFG_PTM6840_EXTERNAL_CLOCKS(HBLANK_FREQ.dvalue(), VBLANK_FREQ.dvalue(), 1'000'000) // TODO: does the third thing come from a crystal?
MCFG_PTM6840_IRQ_CB(WRITELINE(cmi_state, ptm_q219_irq))
MCFG_DEVICE_ADD("cmi02_pia_1", PIA6821, 0) // pia_cmi02_1_config