Fixed Debugger bpenable/bpdisable commands which were not

seeing parameters - no whatsnew.
This commit is contained in:
Quench 2010-07-13 09:57:37 +00:00
parent 3871da6b07
commit c5c7945aa4

View File

@ -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");