diff options
author | Torbjörn Andersson | 2004-10-19 14:19:52 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-10-19 14:19:52 +0000 |
commit | e31cd239bdddeca1045455646f719f988e8f6059 (patch) | |
tree | 45ac73e20acef2d11e852f5807957d85896f6934 | |
parent | 1ac29aae1ea2137743afedf588dca0c9aae8df39 (diff) | |
download | scummvm-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
-rw-r--r-- | sword2/interpreter.cpp | 6 |
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 { |