mirror of
https://github.com/holub/mame
synced 2025-04-26 18:23:08 +03:00
Fix for regressions (no whatsnew)
This commit is contained in:
parent
b4525a2cf3
commit
64c8feb6ad
@ -543,7 +543,7 @@ static Z80DART_INTERFACE( sio_intf )
|
||||
|
||||
WRITE_LINE_MEMBER(bw12_state::pit_out0_w)
|
||||
{
|
||||
device_t *device = machine().device("DEVCB_DRIVER_LINE_MEMBER(Z80SIO_TAG, bw12_state,pit_out0_w)");
|
||||
device_t *device = machine().device(Z80SIO_TAG);
|
||||
z80dart_txca_w(device, state);
|
||||
z80dart_rxca_w(device, state);
|
||||
}
|
||||
|
@ -598,7 +598,7 @@ WRITE_LINE_MEMBER(v1050_state::pic_int_w)
|
||||
{
|
||||
if (state == ASSERT_LINE)
|
||||
{
|
||||
execute().set_input_line(INPUT_LINE_IRQ0, ASSERT_LINE);
|
||||
machine().device(Z80_TAG)->execute().set_input_line(INPUT_LINE_IRQ0, ASSERT_LINE);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1302,9 +1302,9 @@ static void compis_cpu_init(running_machine &machine)
|
||||
state->m_i186.timer[0].int_timer = machine.scheduler().timer_alloc(timer_expired_delegate(FUNC(compis_state::internal_timer_int),state));
|
||||
state->m_i186.timer[1].int_timer = machine.scheduler().timer_alloc(timer_expired_delegate(FUNC(compis_state::internal_timer_int),state));
|
||||
state->m_i186.timer[2].int_timer = machine.scheduler().timer_alloc(timer_expired_delegate(FUNC(compis_state::internal_timer_int),state));
|
||||
state->m_i186.timer[0].time_timer = machine.scheduler().timer_alloc(timer_expired_delegate());
|
||||
state->m_i186.timer[1].time_timer = machine.scheduler().timer_alloc(timer_expired_delegate());
|
||||
state->m_i186.timer[2].time_timer = machine.scheduler().timer_alloc(timer_expired_delegate());
|
||||
state->m_i186.timer[0].time_timer = machine.scheduler().timer_alloc(FUNC_NULL);
|
||||
state->m_i186.timer[1].time_timer = machine.scheduler().timer_alloc(FUNC_NULL);
|
||||
state->m_i186.timer[2].time_timer = machine.scheduler().timer_alloc(FUNC_NULL);
|
||||
state->m_i186.dma[0].finish_timer = machine.scheduler().timer_alloc(timer_expired_delegate(FUNC(compis_state::dma_timer_callback),state));
|
||||
state->m_i186.dma[1].finish_timer = machine.scheduler().timer_alloc(timer_expired_delegate(FUNC(compis_state::dma_timer_callback),state));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user