diff options
author | Travis Howell | 2006-03-27 13:32:44 +0000 |
---|---|---|
committer | Travis Howell | 2006-03-27 13:32:44 +0000 |
commit | 017bcdb44510aeadfa1cf1327b9889da22443fa2 (patch) | |
tree | 91425cf291096dd95ddc3b620d10545aadc9ba47 | |
parent | c12839ec182ebd5435aae9c0390f63d547da4351 (diff) | |
download | scummvm-rg350-017bcdb44510aeadfa1cf1327b9889da22443fa2.tar.gz scummvm-rg350-017bcdb44510aeadfa1cf1327b9889da22443fa2.tar.bz2 scummvm-rg350-017bcdb44510aeadfa1cf1327b9889da22443fa2.zip |
Adjust width in dump_bitmap() for FF
svn-id: r21467
-rw-r--r-- | engines/simon/debug.cpp | 7 |
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; |