diff options
-rw-r--r-- | sword2/resman.cpp | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/sword2/resman.cpp b/sword2/resman.cpp index 5c0c63e055..62eac3c7fd 100644 --- a/sword2/resman.cpp +++ b/sword2/resman.cpp @@ -731,8 +731,23 @@ uint32 ResourceManager::helpTheAgedOut(void) { void ResourceManager::printConsoleClusters(void) { if (_totalClusters) { - for (uint i = 0; i < _totalClusters; i++) - Debug_Printf("%s\n", _resourceFiles[i]); + for (uint i = 0; i < _totalClusters; i++) { + Debug_Printf("%-20s ", _resourceFiles[i]); + if (!(_cdTab[i] & LOCAL_PERM)) { + switch (_cdTab[i] & 3) { + case BOTH: + Debug_Printf("CD 1 & 2\n"); + break; + case CD1: + Debug_Printf("CD 1\n"); + break; + case CD2: + Debug_Printf("CD 2\n"); + break; + } + } else + Debug_Printf("HD\n"); + } Debug_Printf("%d resources\n", _totalResFiles); } else Debug_Printf("Argh! No resources!\n"); @@ -982,7 +997,7 @@ void ResourceManager::cacheNewCluster(uint32 newCluster) { g_logic->fnStopMusic(NULL); - _vm->clearFxQueue(); // stops all fx & clears the queue (James22july97) + _vm->clearFxQueue(); // stops all fx & clears the queue getCd(_cdTab[newCluster] & 3); // Kick out old cached cluster and load the new one. |