mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
Fix exception in debug build when selecting machine category filter
This commit is contained in:
parent
3cd1a5f3e4
commit
1eb4981acb
@ -906,7 +906,7 @@ public:
|
||||
if (m_include_clones)
|
||||
{
|
||||
int const found(driver_list::find(system.driver->parent));
|
||||
return m_cache.end() != m_cache.find(&driver_list::driver(found));
|
||||
return found >= 0 && m_cache.end() != m_cache.find(&driver_list::driver(found));
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user