CMD: Print full path information for --detect
This commit is contained in:
parent
544a18bba2
commit
78253e38d1
1 changed files with 4 additions and 5 deletions
|
@ -884,12 +884,11 @@ static Common::String detectGames(Common::String path, Common::String recursiveO
|
||||||
}
|
}
|
||||||
return Common::String();
|
return Common::String();
|
||||||
}
|
}
|
||||||
|
// TODO this is not especially pretty
|
||||||
// Print all the candidate found
|
printf("ID Description Full Path\n");
|
||||||
printf("ID Description\n");
|
printf("-------------- ---------------------------------------------------------- ---------------------------------------------------------\n");
|
||||||
printf("-------------------- ---------------------------------------------------------\n");
|
|
||||||
for (GameList::iterator v = candidates.begin(); v != candidates.end(); ++v) {
|
for (GameList::iterator v = candidates.begin(); v != candidates.end(); ++v) {
|
||||||
printf("%-20s %s\n", v->gameid().c_str(), v->description().c_str());
|
printf("%-14s %-58s %s\n", v->gameid().c_str(), v->description().c_str(), (*v)["path"].c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
return candidates[0].gameid();
|
return candidates[0].gameid();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue