summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcmd.c
diff options
context:
space:
mode:
author Quench <Quench0@users.noreply.github.com>2010-07-13 09:57:37 +0000
committer Quench <Quench0@users.noreply.github.com>2010-07-13 09:57:37 +0000
commitc5c7945aa49ea2e8b78a75497286553c1e723cab (patch)
tree582fa4948ee323022fc4b668359245b576a20ad2 /src/emu/debug/debugcmd.c
parent3871da6b07d460164877c837d8950fcf9a4f49d6 (diff)
Fixed Debugger bpenable/bpdisable commands which were not
seeing parameters - no whatsnew.
Diffstat (limited to 'src/emu/debug/debugcmd.c')
-rw-r--r--src/emu/debug/debugcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcmd.c b/src/emu/debug/debugcmd.c
index c9bf9a5c255..fc19ab0db82 100644
--- a/src/emu/debug/debugcmd.c
+++ b/src/emu/debug/debugcmd.c
@@ -1253,7 +1253,7 @@ static void execute_bpdisenable(running_machine *machine, int ref, int params, c
{
bool found = false;
for (device_t *device = machine->m_devicelist.first(); device != NULL; device = device->next())
- if (device->debug()->breakpoint_enable(ref))
+ if (device->debug()->breakpoint_enable(bpindex, ref))
found = true;
if (found)
debug_console_printf(machine, "Breakpoint %X %s\n", (UINT32)bpindex, ref ? "enabled" : "disabled");