aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlyssa Milburn2013-04-17 23:19:47 +0200
committerAlyssa Milburn2013-04-17 23:19:47 +0200
commita514927381bbbde60538042db28e77f5da04780b (patch)
tree1462dc55692e904ad72d7e718914452a19cb9e40
parent98934898cf4003ce2536acab3f12014d3402d420 (diff)
downloadscummvm-rg350-a514927381bbbde60538042db28e77f5da04780b.tar.gz
scummvm-rg350-a514927381bbbde60538042db28e77f5da04780b.tar.bz2
scummvm-rg350-a514927381bbbde60538042db28e77f5da04780b.zip
PARALLACTION: Fix buffer size in unpackBackground.
-rw-r--r--engines/parallaction/disk_ns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/disk_ns.cpp b/engines/parallaction/disk_ns.cpp
index f03f16ca37..4c4893ec61 100644
--- a/engines/parallaction/disk_ns.cpp
+++ b/engines/parallaction/disk_ns.cpp
@@ -394,7 +394,7 @@ Frames* DosDisk_ns::loadFrames(const char* name) {
- path data [bit 8] (walkable areas)
*/
void DosDisk_ns::unpackBackground(Common::ReadStream *stream, byte *screen, byte *mask, byte *path) {
- byte storage[127];
+ byte storage[128];
uint32 storageLen = 0, len = 0;
uint32 j = 0;