summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-05-07 15:29:33 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-05-07 15:29:33 +0000
commitc80c4730c4170342f34e5b92e3ca9132490bf977 (patch)
tree4514fb58fef439249df40f37aececac53019284e /src/osd
parent4aa04501e71e0e95919460504ffae9e7a63d96c5 (diff)
From: Xander Xander [xander85@operamail.com]
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
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/windows/debugwin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/windows/debugwin.c b/src/osd/windows/debugwin.c
index d4cfc7d7faf..910c0227b86 100644
--- a/src/osd/windows/debugwin.c
+++ b/src/osd/windows/debugwin.c
@@ -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);
}
}