Got lost in translation, nw

This commit is contained in:
angelosa 2016-01-04 22:42:44 +01:00
parent 3fd13a4f9e
commit 4446184c0a

View File

@ -199,18 +199,13 @@ TIMER_DEVICE_CALLBACK_MEMBER(megasys1_state::megasys1A_iganinju_scanline)
int scanline = param;
// TODO: there's more than one hint that MCU controls IRQ signals via work RAM buffers.
// Right now makes it to speed-up too much, which I assume it's just plain wrong.
// This is a bare miminum guessing for this specific game, it definitely don't like neither lv 1 nor 2.
// Of course MCU is probably doing a lot more to mask and probably set a specific line too.
if(m_ram[0] == 0)
return;
if(scanline == 240) // vblank-out irq
m_maincpu->set_input_line(2, HOLD_LINE);
//if(scanline == 16)
// m_maincpu->set_input_line(1, HOLD_LINE);
//if(scanline == 128)
// m_maincpu->set_input_line(3, HOLD_LINE);
}
static ADDRESS_MAP_START( megasys1A_map, AS_PROGRAM, 16, megasys1_state )