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:
parent
8d4e4262c1
commit
3d7ba70853
@ -273,7 +273,10 @@ TODO:
|
||||
|
||||
static READ8_HANDLER ( snk_cpuA_nmi_trigger_r )
|
||||
{
|
||||
cputag_set_input_line(space->machine, "maincpu", INPUT_LINE_NMI, ASSERT_LINE);
|
||||
if(!space->debugger_access())
|
||||
{
|
||||
cputag_set_input_line(space->machine, "maincpu", INPUT_LINE_NMI, ASSERT_LINE);
|
||||
}
|
||||
return 0xff;
|
||||
}
|
||||
|
||||
@ -284,7 +287,10 @@ static WRITE8_HANDLER( snk_cpuA_nmi_ack_w )
|
||||
|
||||
static READ8_HANDLER ( snk_cpuB_nmi_trigger_r )
|
||||
{
|
||||
cputag_set_input_line(space->machine, "sub", INPUT_LINE_NMI, ASSERT_LINE);
|
||||
if(!space->debugger_access())
|
||||
{
|
||||
cputag_set_input_line(space->machine, "sub", INPUT_LINE_NMI, ASSERT_LINE);
|
||||
}
|
||||
return 0xff;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user