diff options
author | Torbjörn Andersson | 2005-12-30 19:27:45 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-12-30 19:27:45 +0000 |
commit | 8b666f622e1f14028dfbb1b84756b5573fa34575 (patch) | |
tree | 3a94b4d183435820ee0740e06aed70d24e3ca33e | |
parent | 5d0edbe4bc0e02807033dc9b0af85e9b4a80f39d (diff) | |
download | scummvm-rg350-8b666f622e1f14028dfbb1b84756b5573fa34575.tar.gz scummvm-rg350-8b666f622e1f14028dfbb1b84756b5573fa34575.tar.bz2 scummvm-rg350-8b666f622e1f14028dfbb1b84756b5573fa34575.zip |
Slightly more verbose debugging messages. Still trying to track down weird
bug report from the forum.
svn-id: r19865
-rw-r--r-- | sword2/resman.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/resman.cpp b/sword2/resman.cpp index 7d97c3d880..c92b989d0e 100644 --- a/sword2/resman.cpp +++ b/sword2/resman.cpp @@ -169,7 +169,7 @@ ResourceManager::ResourceManager(Sword2Engine *vm) { debug(1, "%d resources in %d cluster files", _totalResFiles, _totalClusters); for (i = 0; i < _totalClusters; i++) - debug(2, "filename of cluster %d: -%s", i, _resFiles[i].fileName); + debug(2, "filename of cluster %d: -%s (%d)", i, _resFiles[i].fileName, _resFiles[i].cd); _resList = (Resource *)malloc(_totalResFiles * sizeof(Resource)); @@ -246,7 +246,7 @@ byte *ResourceManager::openResource(uint32 res, bool dump) { file->read(_resList[res].ptr, len); - debug(3, "Loaded resource '%s' from CD %d", fetchName(_resList[res].ptr), getCD()); + debug(3, "Loaded resource '%s' from '%s' on CD %d (%d)", fetchName(_resList[res].ptr), _resFiles[cluFileNum].fileName, getCD(), _resFiles[cluFileNum].cd); if (dump) { char buf[256]; |