mirror of
https://github.com/holub/mame
synced 2025-06-10 06:47:18 +03:00
stop hotspot from crashing when you start running. (nw)
This commit is contained in:
parent
9b4b422ade
commit
c55140ee1b
@ -2794,6 +2794,7 @@ void debugger_cpu::watchpoint_check(address_space& space, int type, offs_t addre
|
|||||||
m_wpdata = value_to_write;
|
m_wpdata = value_to_write;
|
||||||
|
|
||||||
// see if we match
|
// see if we match
|
||||||
|
if (space.spacenum() < int(wplist.size()))
|
||||||
for (device_debug::watchpoint *wp = wplist[space.spacenum()]; wp != nullptr; wp = wp->next())
|
for (device_debug::watchpoint *wp = wplist[space.spacenum()]; wp != nullptr; wp = wp->next())
|
||||||
if (wp->hit(type, address, size))
|
if (wp->hit(type, address, size))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user