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:
Scott Stone 2013-02-06 21:18:00 +00:00
parent 31257a208a
commit dc30fb8cb6

View File

@ -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();