diff options
author | Filippos Karapetis | 2012-06-11 11:48:49 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-06-11 11:54:09 +0300 |
commit | 0ccfd614aa935ed38a4fce7888c91ff1429691f1 (patch) | |
tree | 7c1f238922e45120a10b70ec0994929ab6705356 /engines/sci | |
parent | fe44939eba096bad083254b1c5152ef070ac4dc8 (diff) | |
download | scummvm-rg350-0ccfd614aa935ed38a4fce7888c91ff1429691f1.tar.gz scummvm-rg350-0ccfd614aa935ed38a4fce7888c91ff1429691f1.tar.bz2 scummvm-rg350-0ccfd614aa935ed38a4fce7888c91ff1429691f1.zip |
SCI: Add more verbose debug output for DoAudio in SCI2.1
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/ksound.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/sci/engine/ksound.cpp b/engines/sci/engine/ksound.cpp index c469f775f9..b378b4d58b 100644 --- a/engines/sci/engine/ksound.cpp +++ b/engines/sci/engine/ksound.cpp @@ -140,8 +140,12 @@ reg_t kDoAudio(EngineState *s, int argc, reg_t *argv) { ((argv[3].toUint16() & 0xff) << 16) | ((argv[4].toUint16() & 0xff) << 8) | (argv[5].toUint16() & 0xff); - if (argc == 8) - warning("kDoAudio: Play called with SQ6 extra parameters"); + if (argc == 8) { + // argv[6] is always 1 + // argv[7] is the contents of global 229 (0xE5) + warning("kDoAudio: Play called with SCI2.1 extra parameters: %04x:%04x and %04x:%04x", + PRINT_REG(argv[6]), PRINT_REG(argv[7])); + } } else { warning("kDoAudio: Play called with an unknown number of parameters (%d)", argc); return NULL_REG; |