[Scummvm-cvs-logs] CVS: scummvm/sword2 interpreter.cpp,1.47,1.48

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Tue Oct 19 07:21:00 CEST 2004


Update of /cvsroot/scummvm/scummvm/sword2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12523

Modified Files:
	interpreter.cpp 
Log Message:
Use the same REDUCE_MEMORY_USAGE trick here as in scumm/intern.h


Index: interpreter.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/interpreter.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- interpreter.cpp	26 Apr 2004 20:28:34 -0000	1.47
+++ interpreter.cpp	19 Oct 2004 14:19:52 -0000	1.48
@@ -29,7 +29,11 @@
 
 // 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 {





More information about the Scummvm-git-logs mailing list