aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-03-27 13:32:44 +0000
committerTravis Howell2006-03-27 13:32:44 +0000
commit017bcdb44510aeadfa1cf1327b9889da22443fa2 (patch)
tree91425cf291096dd95ddc3b620d10545aadc9ba47 /engines
parentc12839ec182ebd5435aae9c0390f63d547da4351 (diff)
downloadscummvm-rg350-017bcdb44510aeadfa1cf1327b9889da22443fa2.tar.gz
scummvm-rg350-017bcdb44510aeadfa1cf1327b9889da22443fa2.tar.bz2
scummvm-rg350-017bcdb44510aeadfa1cf1327b9889da22443fa2.zip
Adjust width in dump_bitmap() for FF
svn-id: r21467
Diffstat (limited to 'engines')
-rw-r--r--engines/simon/debug.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/simon/debug.cpp b/engines/simon/debug.cpp
index 59e351052e..8414dd4cfd 100644
--- a/engines/simon/debug.cpp
+++ b/engines/simon/debug.cpp
@@ -333,8 +333,11 @@ void dump_bmp(const char *filename, int w, int h, const byte *bytes, const uint3
}
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;