mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
clifront.c: [Peter Ferrie]
- Faster enumeration during -verifyroms comment: The diff is large because of the addition of a set of {}. The real change is actually only a single line, to perform the secondary auditing only if the first audit was (potentially) incomplete because of a special name or wildcards.
This commit is contained in:
parent
31257a208a
commit
dc30fb8cb6
@ -811,6 +811,8 @@ void cli_frontend::verifyroms(const char *gamename)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!matched || strchr(gamename, '*') || strchr(gamename, '?'))
|
||||||
|
{
|
||||||
driver_enumerator dummy_drivlist(m_options);
|
driver_enumerator dummy_drivlist(m_options);
|
||||||
int_map device_map;
|
int_map device_map;
|
||||||
while (dummy_drivlist.next())
|
while (dummy_drivlist.next())
|
||||||
@ -938,6 +940,7 @@ void cli_frontend::verifyroms(const char *gamename)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// clear out any cached files
|
// clear out any cached files
|
||||||
zip_file_cache_clear();
|
zip_file_cache_clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user