diff options
Diffstat (limited to 'engines/sci/console.cpp')
-rw-r--r-- | engines/sci/console.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp index e705a828f6..cdb4a1f476 100644 --- a/engines/sci/console.cpp +++ b/engines/sci/console.cpp @@ -43,6 +43,8 @@ #ifdef USE_OLD_MUSIC_FUNCTIONS #include "sci/sfx/iterator/songlib.h" // for SongLibrary #include "sci/sfx/iterator/iterator.h" // for SCI_SONG_ITERATOR_TYPE_SCI0 +#else +#include "sci/sfx/music.h" #endif #include "sci/sfx/softseq/mididriver.h" #include "sci/vocabulary.h" @@ -1623,6 +1625,8 @@ bool Console::cmdSongLib(int argc, const char **argv) { DebugPrintf("\n"); } while (seeker); DebugPrintf("\n"); +#else + _vm->getEngineState()->_soundCmd->_music->printSongLib(this); #endif return true; |