mirror of
https://github.com/holub/mame
synced 2025-05-05 22:04:43 +03:00
atarigen: Eliminate sound_int_gen (nw)
This commit is contained in:
parent
895956c5dd
commit
0dbee19e62
@ -93,10 +93,7 @@ MACHINE_RESET_MEMBER(atarigt_state,atarigt)
|
||||
|
||||
WRITE8_MEMBER(atarigt_state::cage_irq_callback)
|
||||
{
|
||||
if (data)
|
||||
sound_int_gen(*m_maincpu);
|
||||
else
|
||||
sound_int_ack_w(space,0,0);
|
||||
sound_int_write_line(data != 0 ? 1 : 0);
|
||||
}
|
||||
|
||||
/*************************************
|
||||
|
@ -966,18 +966,6 @@ WRITE_LINE_MEMBER(atarigen_state::sound_int_write_line)
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// sound_int_gen: Standard interrupt routine which
|
||||
// sets the sound interrupt state.
|
||||
//-------------------------------------------------
|
||||
|
||||
INTERRUPT_GEN_MEMBER(atarigen_state::sound_int_gen)
|
||||
{
|
||||
m_sound_int_state = 1;
|
||||
update_interrupts();
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// sound_int_ack_w: Resets the state of the sound
|
||||
// interrupt.
|
||||
|
@ -280,7 +280,6 @@ protected:
|
||||
DECLARE_WRITE16_MEMBER(scanline_int_ack_w);
|
||||
|
||||
DECLARE_WRITE_LINE_MEMBER(sound_int_write_line);
|
||||
INTERRUPT_GEN_MEMBER(sound_int_gen);
|
||||
DECLARE_WRITE16_MEMBER(sound_int_ack_w);
|
||||
|
||||
DECLARE_WRITE_LINE_MEMBER(video_int_write_line);
|
||||
|
Loading…
Reference in New Issue
Block a user