diff options
author | Bendegúz Nagy | 2016-08-20 12:16:42 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | d85970b4e47d05db625eccd04646514d47b8e5fe (patch) | |
tree | 868f11edb52259e9b1cc6c7f1e6fc85555b8b975 /engines | |
parent | 92c9c54481b8eccc9454c982976221baa3697704 (diff) | |
download | scummvm-rg350-d85970b4e47d05db625eccd04646514d47b8e5fe.tar.gz scummvm-rg350-d85970b4e47d05db625eccd04646514d47b8e5fe.tar.bz2 scummvm-rg350-d85970b4e47d05db625eccd04646514d47b8e5fe.zip |
DM: Fix releasing flagged bitmaps
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dm/gfx.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/dm/gfx.cpp b/engines/dm/gfx.cpp index 73621cacdf..6060d9f3f0 100644 --- a/engines/dm/gfx.cpp +++ b/engines/dm/gfx.cpp @@ -3740,6 +3740,7 @@ byte* DisplayMan::f492_getDerivedBitmap(int16 derivedBitmapIndex) { void DisplayMan::f493_addDerivedBitmap(int16 derivedBitmapIndex) {} void DisplayMan::f480_releaseBlock(uint16 index) { + index &= ~0x8000; delete[] _g638_derivedBitmaps[index]; _g638_derivedBitmaps[index] = nullptr; } |