atarigen: Eliminate sound_int_gen (nw)

This commit is contained in:
AJR 2018-04-03 15:47:07 -04:00
parent 895956c5dd
commit 0dbee19e62
3 changed files with 1 additions and 17 deletions

View File

@ -93,10 +93,7 @@ MACHINE_RESET_MEMBER(atarigt_state,atarigt)
WRITE8_MEMBER(atarigt_state::cage_irq_callback) WRITE8_MEMBER(atarigt_state::cage_irq_callback)
{ {
if (data) sound_int_write_line(data != 0 ? 1 : 0);
sound_int_gen(*m_maincpu);
else
sound_int_ack_w(space,0,0);
} }
/************************************* /*************************************

View File

@ -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 // sound_int_ack_w: Resets the state of the sound
// interrupt. // interrupt.

View File

@ -280,7 +280,6 @@ protected:
DECLARE_WRITE16_MEMBER(scanline_int_ack_w); DECLARE_WRITE16_MEMBER(scanline_int_ack_w);
DECLARE_WRITE_LINE_MEMBER(sound_int_write_line); DECLARE_WRITE_LINE_MEMBER(sound_int_write_line);
INTERRUPT_GEN_MEMBER(sound_int_gen);
DECLARE_WRITE16_MEMBER(sound_int_ack_w); DECLARE_WRITE16_MEMBER(sound_int_ack_w);
DECLARE_WRITE_LINE_MEMBER(video_int_write_line); DECLARE_WRITE_LINE_MEMBER(video_int_write_line);