[Scummvm-cvs-logs] SF.net SVN: scummvm: [21467] scummvm/trunk/engines/simon/debug.cpp
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Mon Mar 27 05:33:13 CEST 2006
Revision: 21467
Author: kirben
Date: 2006-03-27 05:32:44 -0800 (Mon, 27 Mar 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21467&view=rev
Log Message:
-----------
Adjust width in dump_bitmap() for FF
Modified Paths:
--------------
scummvm/trunk/engines/simon/debug.cpp
Modified: scummvm/trunk/engines/simon/debug.cpp
===================================================================
--- scummvm/trunk/engines/simon/debug.cpp 2006-03-27 13:30:28 UTC (rev 21466)
+++ scummvm/trunk/engines/simon/debug.cpp 2006-03-27 13:32:44 UTC (rev 21467)
@@ -333,8 +333,11 @@
}
void SimonEngine::dump_bitmap(const char *filename, const byte *offs, int w, int h, int flags, const byte *palette,
- byte base)
-{
+ byte base) {
+
+ if (getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2)
+ w *= 16;
+
/* allocate */
byte *b = (byte *)malloc(w * h);
int i, j;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list