From 8db94ef9913713185dafebfd040b6f08611f903d Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 27 Jun 2010 21:38:45 +0000 Subject: Cleanup svn-id: r50404 --- engines/sci/engine/script.h | 2 -- engines/sci/engine/vm.cpp | 3 --- 2 files changed, 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) -- cgit v1.2.3