mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
SCUMM: Add a debug message to detectGames() to help find filesizes of detection files
svn-id: r50150
This commit is contained in:
parent
90a1d7c609
commit
33347e12bd
@ -488,6 +488,12 @@ static void detectGames(const Common::FSList &fslist, Common::List<DetectorResul
|
||||
// Exact match found. Compute the precise game settings.
|
||||
computeGameSettingsFromMD5(fslist, gfp, d.md5Entry, dr);
|
||||
|
||||
// Print some debug info
|
||||
int filesize = tmp->size();
|
||||
if (d.md5Entry->filesize != filesize)
|
||||
debug(1, "SCUMM detector found matching file '%s' with MD5 %s, size %d\n",
|
||||
file.c_str(), md5str, filesize);
|
||||
|
||||
// Sanity check: We *should* have found a matching gameid / variant at this point.
|
||||
// If not, then there's a bug in our data tables...
|
||||
assert(dr.game.gameid != 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user