aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/prince/script.cpp')
-rw-r--r--engines/prince/script.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/prince/script.cpp b/engines/prince/script.cpp
index 14fae2b42f..fdf1b7c8ef 100644
--- a/engines/prince/script.cpp
+++ b/engines/prince/script.cpp
@@ -458,6 +458,10 @@ void Interpreter::storeNewPC(int opcodePC) {
_fgOpcodePC = opcodePC;
}
+int Interpreter::getLastOPCode() {
+ return _lastOpcode;
+}
+
uint32 Interpreter::getCurrentString() {
return _currentString;
}
@@ -508,7 +512,7 @@ void Interpreter::O_WAITFOREVER() {
_vm->changeCursor(_vm->_currentPointerNumber);
_opcodeNF = 1;
_currentInstruction -= 2;
- //debugInterpreter("O_WAITFOREVER");
+ debugInterpreter("O_WAITFOREVER");
}
void Interpreter::O_BLACKPALETTE() {