mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
Add a nice message, when none of the input files is used for processing.
svn-id: r46017
This commit is contained in:
parent
cf28e38ae1
commit
685ca0a58d
@ -565,6 +565,12 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
unusedFiles.clear();
|
||||
|
||||
// Short circuit, in case no games are found.
|
||||
if (games.empty()) {
|
||||
printf("No games found. Exiting prematurely\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Process all games found
|
||||
for (GameMap::const_iterator i = games.begin(); i != games.end(); ++i) {
|
||||
MD5Map::const_iterator f1 = inputFiles.find(i->first->md5[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user