Sent: Wednesday, May 06, 2009 12:01 PM
To: submit@mamedev.org
Subject: MAME Debugger

In some processors (like Z80), it is not possible to put the BPs to
0x000A, 0x000B, 0x000C, 0x000D, 0x000E with the key F9, and if it
is inserted more than 10 BP, the BP A, B, C, D, E cannot be removed
with the key F9.

Xander
This commit is contained in:
Aaron Giles 2009-05-07 15:29:33 +00:00
parent 4aa04501e7
commit c80c4730c4

View File

@ -2241,9 +2241,9 @@ static int disasm_handle_command(debugwin_info *info, WPARAM wparam, LPARAM lpar
/* if it doesn't exist, add a new one */
if (bpindex == -1)
sprintf(command, "bpset %X", address);
sprintf(command, "bpset 0x%X", address);
else
sprintf(command, "bpclear %X", bpindex);
sprintf(command, "bpclear 0x%X", bpindex);
debug_console_execute_command(info->machine, command, 1);
}
}