aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/script.h2
-rw-r--r--engines/sci/engine/vm.cpp3
2 files changed, 0 insertions, 5 deletions
diff --git a/engines/sci/engine/script.h b/engines/sci/engine/script.h
index 5396a7432e..296570c218 100644
--- a/engines/sci/engine/script.h
+++ b/engines/sci/engine/script.h
@@ -34,8 +34,6 @@ namespace Sci {
struct EngineState;
class ResourceManager;
-#define SCI_SCRIPTS_NR 1000
-
enum ScriptObjectTypes {
SCI_OBJ_TERMINATOR,
SCI_OBJ_OBJECT,
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index f59cf4a577..a69a142e10 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -826,9 +826,6 @@ static void gcCountDown(EngineState *s) {
}
}
-static const byte _fake_return_buffer[2] = {op_ret << 1, op_ret << 1};
-
-
int readPMachineInstruction(const byte *src, byte &extOpcode, int16 opparams[4]) {
uint offset = 0;
extOpcode = src[offset++]; // Get "extended" opcode (lower bit has special meaning)