diff options
author | Strangerke | 2012-04-10 10:19:52 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-03-28 17:36:57 +0200 |
commit | 0ee1ba07865bacc0823aeb618b44ba14522a89ab (patch) | |
tree | c7cbfdd60be15b465917c36f98d846441bf187e3 | |
parent | 47b9c1f6a7032c858a7ff1145d23493d03a40797 (diff) | |
download | scummvm-rg350-0ee1ba07865bacc0823aeb618b44ba14522a89ab.tar.gz scummvm-rg350-0ee1ba07865bacc0823aeb618b44ba14522a89ab.tar.bz2 scummvm-rg350-0ee1ba07865bacc0823aeb618b44ba14522a89ab.zip |
LILLIPUT: Fix a bug in VGA file loading
-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; |