mirror of
https://github.com/holub/mame
synced 2025-10-08 17:37:56 +03:00
fixed issue noticed for racedrivpan (nw)
This commit is contained in:
parent
208fbb7ddd
commit
a0d2d660bf
@ -389,7 +389,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// search next for neighbors up the ownership chain
|
// search next for neighbors up the ownership chain
|
||||||
while (m_curdepth > 0)
|
while (m_curdepth > 0 && start != nullptr)
|
||||||
{
|
{
|
||||||
// found a neighbor? great!
|
// found a neighbor? great!
|
||||||
m_current = start->next();
|
m_current = start->next();
|
||||||
|
Loading…
Reference in New Issue
Block a user