MAMETesters Bugs Fixed

----------------------
- 04060: [Debugger] Many sets in snk.c: Viewing c000-c700
         in debugger for "SUB" Z-80 causes memory
         corruption [MooglyGuy]
This commit is contained in:
Ryan Holtz 2010-10-17 20:41:14 +00:00
parent 8d4e4262c1
commit 3d7ba70853

View File

@ -272,8 +272,11 @@ TODO:
// Interrupt handlers common to all SNK triple Z80 games // Interrupt handlers common to all SNK triple Z80 games
static READ8_HANDLER ( snk_cpuA_nmi_trigger_r ) static READ8_HANDLER ( snk_cpuA_nmi_trigger_r )
{
if(!space->debugger_access())
{ {
cputag_set_input_line(space->machine, "maincpu", INPUT_LINE_NMI, ASSERT_LINE); cputag_set_input_line(space->machine, "maincpu", INPUT_LINE_NMI, ASSERT_LINE);
}
return 0xff; return 0xff;
} }
@ -283,8 +286,11 @@ static WRITE8_HANDLER( snk_cpuA_nmi_ack_w )
} }
static READ8_HANDLER ( snk_cpuB_nmi_trigger_r ) static READ8_HANDLER ( snk_cpuB_nmi_trigger_r )
{
if(!space->debugger_access())
{ {
cputag_set_input_line(space->machine, "sub", INPUT_LINE_NMI, ASSERT_LINE); cputag_set_input_line(space->machine, "sub", INPUT_LINE_NMI, ASSERT_LINE);
}
return 0xff; return 0xff;
} }