aboutsummaryrefslogtreecommitdiff
path: root/sword2/interpreter.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-10-19 14:19:52 +0000
committerTorbjörn Andersson2004-10-19 14:19:52 +0000
commite31cd239bdddeca1045455646f719f988e8f6059 (patch)
tree45ac73e20acef2d11e852f5807957d85896f6934 /sword2/interpreter.cpp
parent1ac29aae1ea2137743afedf588dca0c9aae8df39 (diff)
downloadscummvm-rg350-e31cd239bdddeca1045455646f719f988e8f6059.tar.gz
scummvm-rg350-e31cd239bdddeca1045455646f719f988e8f6059.tar.bz2
scummvm-rg350-e31cd239bdddeca1045455646f719f988e8f6059.zip
Use the same REDUCE_MEMORY_USAGE trick here as in scumm/intern.h
svn-id: r15612
Diffstat (limited to 'sword2/interpreter.cpp')
-rw-r--r--sword2/interpreter.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/sword2/interpreter.cpp b/sword2/interpreter.cpp
index 98a9cb516c..b4b3247c60 100644
--- a/sword2/interpreter.cpp
+++ b/sword2/interpreter.cpp
@@ -29,7 +29,11 @@ namespace Sword2 {
// The machine code table
-#define OPCODE(x) { &Logic::x, #x }
+#ifndef REDUCE_MEMORY_USAGE
+# define OPCODE(x) { &Logic::x, #x }
+#else
+# define OPCODE(x) { &Logic::x, "" }
+#endif
typedef int32 (Logic::*OpcodeProc)(int32 *);
struct OpcodeEntry {