mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
audio/m72.c: remove dead code (nw)
This commit is contained in:
parent
acf5377cee
commit
4ec189e357
@ -106,10 +106,6 @@ TIMER_CALLBACK_MEMBER( m72_audio_device::setvector_callback )
|
||||
{
|
||||
switch(param)
|
||||
{
|
||||
case VECTOR_INIT:
|
||||
m_irqvector = 0xff;
|
||||
break;
|
||||
|
||||
case YM2151_ASSERT:
|
||||
m_irqvector &= 0xef;
|
||||
break;
|
||||
@ -127,9 +123,6 @@ TIMER_CALLBACK_MEMBER( m72_audio_device::setvector_callback )
|
||||
break;
|
||||
}
|
||||
|
||||
if (m_irqvector == 0)
|
||||
logerror("You didn't call m72_init_sound()\n");
|
||||
|
||||
machine().device("soundcpu")->execute().set_input_line_and_vector(0, (m_irqvector == 0xff) ? CLEAR_LINE : ASSERT_LINE, m_irqvector);
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,6 @@ public:
|
||||
|
||||
enum
|
||||
{
|
||||
VECTOR_INIT,
|
||||
YM2151_ASSERT,
|
||||
YM2151_CLEAR,
|
||||
Z80_ASSERT,
|
||||
|
Loading…
Reference in New Issue
Block a user