diff options
author | md5 | 2011-04-03 19:01:20 +0300 |
---|---|---|
committer | md5 | 2011-04-03 19:01:20 +0300 |
commit | 6d90b0739a2c96cadee6642a691152c6e9df0895 (patch) | |
tree | 841680ec7814f97a50bd2eeffa698e23826a240f /engines/sci/sound | |
parent | 801f576f9c36025068d13cb852082e5fc9d21e87 (diff) | |
download | scummvm-rg350-6d90b0739a2c96cadee6642a691152c6e9df0895.tar.gz scummvm-rg350-6d90b0739a2c96cadee6642a691152c6e9df0895.tar.bz2 scummvm-rg350-6d90b0739a2c96cadee6642a691152c6e9df0895.zip |
SCI: Show object names in the songlib console command
Diffstat (limited to 'engines/sci/sound')
-rw-r--r-- | engines/sci/sound/music.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp index 8656203736..c7743ac587 100644 --- a/engines/sci/sound/music.cpp +++ b/engines/sci/sound/music.cpp @@ -663,9 +663,11 @@ void SciMusic::printPlayList(Console *con) { for (uint32 i = 0; i < _playList.size(); i++) { MusicEntry *song = _playList[i]; - con->DebugPrintf("%d: %04x:%04x, resource id: %d, status: %s, %s type\n", i, - PRINT_REG(song->soundObj), song->resourceId, - musicStatus[song->status], song->pMidiParser ? "MIDI" : "digital audio"); + con->DebugPrintf("%d: %04x:%04x (%s), resource id: %d, status: %s, %s type\n", + i, PRINT_REG(song->soundObj), + g_sci->getEngineState()->_segMan->getObjectName(song->soundObj), + song->resourceId, musicStatus[song->status], + song->pMidiParser ? "MIDI" : "digital audio"); } } |