aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2018-05-05 18:16:12 -0400
committerPaul Gilbert2018-05-05 18:16:12 -0400
commit5d673787c31592ecd48ed6f158d1727ab0b3c1a2 (patch)
treeb62a29965fbc0cdcfa5161e258e3a63d8f679a70
parentb09dab8c9fc6e4d3af35d154921a03c9511dd688 (diff)
downloadscummvm-rg350-5d673787c31592ecd48ed6f158d1727ab0b3c1a2.tar.gz
scummvm-rg350-5d673787c31592ecd48ed6f158d1727ab0b3c1a2.tar.bz2
scummvm-rg350-5d673787c31592ecd48ed6f158d1727ab0b3c1a2.zip
XEEN: Add debug line for cmdPlayCD opcode parameters
-rw-r--r--engines/xeen/scripts.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index 6702364556..4a2e5ccb86 100644
--- a/engines/xeen/scripts.cpp
+++ b/engines/xeen/scripts.cpp
@@ -21,6 +21,7 @@
*/
#include "common/config-manager.h"
+#include "common/textconsole.h"
#include "backends/audiocd/audiocd.h"
#include "xeen/scripts.h"
#include "xeen/dialogs/dialogs_copy_protection.h"
@@ -1475,6 +1476,7 @@ bool Scripts::cmdPlayCD(ParamsIterator &params) {
int trackNum = params.readByte();
int start = params.readUint16LE();
int finish = params.readUint16LE();
+ debugC(3, kDebugScripts, "cmdPlayCD Track=%d start=%d finish=%d", trackNum, start, finish);
if (_vm->_files->_ccNum)
trackNum += 30;