aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorNicola Mettifogo2008-02-05 09:26:28 +0000
committerNicola Mettifogo2008-02-05 09:26:28 +0000
commit50ff4a46037ffe5b21d63556071ade0168c865ba (patch)
treea00b88a162da2e5e0049ebec1469dd0d0bf49a14 /engines/parallaction
parente1cff6a7c35dc523675a26de007e22cac403a8e1 (diff)
downloadscummvm-rg350-50ff4a46037ffe5b21d63556071ade0168c865ba.tar.gz
scummvm-rg350-50ff4a46037ffe5b21d63556071ade0168c865ba.tar.bz2
scummvm-rg350-50ff4a46037ffe5b21d63556071ade0168c865ba.zip
Fixed size of temporary buffer for unpacking animation frames.
svn-id: r30795
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/graphics.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp
index 23361cfcde..3e21376073 100644
--- a/engines/parallaction/graphics.cpp
+++ b/engines/parallaction/graphics.cpp
@@ -422,7 +422,8 @@ void Gfx::invertBackground(const Common::Rect& r) {
}
-byte _unpackedBitmap[320*200];
+// this is the maximum size of an unpacked frame in BRA
+byte _unpackedBitmap[640*401];
void Gfx::unpackBlt(const Common::Rect& r, byte *data, uint size, Graphics::Surface *surf, uint16 z, byte transparentColor) {