mirror of
https://github.com/holub/mame
synced 2025-07-06 10:29:38 +03:00
Fix SDL debugger.
This commit is contained in:
parent
5d21c672af
commit
8b90eb19d5
@ -1015,10 +1015,10 @@ on_set_breakpoint_at_cursor_activate(GtkWidget *win)
|
|||||||
INT32 bpindex = -1;
|
INT32 bpindex = -1;
|
||||||
|
|
||||||
/* first find an existing breakpoint at this address */
|
/* first find an existing breakpoint at this address */
|
||||||
for (bp = cpuinfo->bplist; bp != NULL; bp = bp->next)
|
for (bp = cpuinfo->breakpoint_first(); bp != NULL; bp = bp->next())
|
||||||
if (address == bp->address)
|
if (address == bp->address())
|
||||||
{
|
{
|
||||||
bpindex = bp->index;
|
bpindex = bp->index();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user