diff options
-rw-r--r-- | engines/hdb/file-manager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/hdb/file-manager.cpp b/engines/hdb/file-manager.cpp index b8b77f2961..622d2c09f5 100644 --- a/engines/hdb/file-manager.cpp +++ b/engines/hdb/file-manager.cpp @@ -96,6 +96,8 @@ Common::SeekableReadStream *FileMan::findFirstData(const char *string, DataType Common::String fileString; MPCEntry *file = NULL; + debug(2, "Looking for Data: '%s'", string); + // Find MPC Entry for (MPCIterator it = _dir.begin(); it != _dir.end(); it++) { fileString = (*it)->filename; @@ -103,11 +105,14 @@ Common::SeekableReadStream *FileMan::findFirstData(const char *string, DataType if ((*it)->type == type) { file = *it; break; + } else { + debug(2, "Found Data but type mismatch: '%s', target: %d, found: %d", string, type, (*it)->type); } } } if (file == NULL) { + debug(2, "Couldn't find Data: '%s'", string); return NULL; } |