stop hotspot from crashing when you start running. (nw)

This commit is contained in:
smf- 2017-07-25 16:16:35 +01:00 committed by Vas Crabb
parent 9b4b422ade
commit c55140ee1b

View File

@ -2794,6 +2794,7 @@ void debugger_cpu::watchpoint_check(address_space& space, int type, offs_t addre
m_wpdata = value_to_write;
// see if we match
if (space.spacenum() < int(wplist.size()))
for (device_debug::watchpoint *wp = wplist[space.spacenum()]; wp != nullptr; wp = wp->next())
if (wp->hit(type, address, size))
{