mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
zr107: fix lockup issues
This commit is contained in:
parent
e76067a374
commit
3f30f6ea16
@ -797,7 +797,7 @@ void midnrun_state::midnrun(machine_config &config)
|
||||
zr107(config);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &midnrun_state::main_memmap);
|
||||
|
||||
config.set_maximum_quantum(attotime::from_hz(1500000)); // Very high sync needed to prevent lockups - why?
|
||||
config.set_maximum_quantum(attotime::from_hz(15000));
|
||||
|
||||
// video hardware
|
||||
m_screen->set_screen_update(FUNC(midnrun_state::screen_update));
|
||||
@ -813,7 +813,7 @@ void jetwave_state::jetwave(machine_config &config)
|
||||
zr107(config);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &jetwave_state::main_memmap);
|
||||
|
||||
config.set_maximum_quantum(attotime::from_hz(2000000)); // Very high sync needed to prevent lockups - why?
|
||||
config.set_maximum_quantum(attotime::from_hz(15000));
|
||||
|
||||
// video hardware
|
||||
m_screen->set_size(1024, 1024);
|
||||
|
@ -226,7 +226,10 @@ void konppc_device::dsp_comm_sharc_w(int board, int offset, uint32_t data)
|
||||
if (offset == 1)
|
||||
{
|
||||
if (data & 0x03)
|
||||
{
|
||||
m_dsp[0]->set_input_line(INPUT_LINE_IRQ2, ASSERT_LINE);
|
||||
m_dsp[0]->abort_timeslice();
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user