diff options
-rw-r--r-- | engines/lilliput/lilliput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lilliput/lilliput.cpp b/engines/lilliput/lilliput.cpp index d1cab057cf..f2e05bfd42 100644 --- a/engines/lilliput/lilliput.cpp +++ b/engines/lilliput/lilliput.cpp @@ -220,7 +220,7 @@ byte *LilliputEngine::loadVGA(Common::String filename, bool loadPal) { } } else { // Not compressed - int rawSize = (curByte & 0xF); + int rawSize = (curByte & 0xFF); for (int i = 0; i < rawSize; ++i) { decodeBuffer[size] = f.readByte(); --remainingSize; |