mirror of
https://github.com/holub/mame
synced 2025-05-30 01:23:07 +03:00
Fixed Debugger bpenable/bpdisable commands which were not
seeing parameters - no whatsnew.
This commit is contained in:
parent
3871da6b07
commit
c5c7945aa4
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user