diff options
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/gfx.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index b7c610330d..7fe9c68ae5 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -1224,7 +1224,10 @@ void Gdi::decompressMaskImg() byte *dst = _mask_ptr_dest; int height = _numLinesToProcess; byte b, c; - + + height--; // FIXME: This seems to fix The Dig nexus wrapping corrupting memory.. + // and doesn't break any other games.. but is it correct? If so, + // do we need to mirror this change anywhere else? while (1) { b = *src++; |