aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-27 21:38:45 +0000
committerFilippos Karapetis2010-06-27 21:38:45 +0000
commit8db94ef9913713185dafebfd040b6f08611f903d (patch)
treef5e899b25dc5a432f9218ab4af527a41b8984636
parent1faebccce25ac422f65ab9616b9a7ecb647894a8 (diff)
downloadscummvm-rg350-8db94ef9913713185dafebfd040b6f08611f903d.tar.gz
scummvm-rg350-8db94ef9913713185dafebfd040b6f08611f903d.tar.bz2
scummvm-rg350-8db94ef9913713185dafebfd040b6f08611f903d.zip
Cleanup
svn-id: r50404
-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)