aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/picture.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-07-27 19:57:37 -0700
committerPaul Gilbert2019-07-27 19:57:37 -0700
commitf515394e78f92093f7d8df52eba9742e657e57e1 (patch)
tree910b4333c7302c297bc56b56029f7be8c77b2784 /engines/glk/picture.cpp
parent3457d3155e61a43ee8f2e8b1479b123439953d53 (diff)
downloadscummvm-rg350-f515394e78f92093f7d8df52eba9742e657e57e1.tar.gz
scummvm-rg350-f515394e78f92093f7d8df52eba9742e657e57e1.tar.bz2
scummvm-rg350-f515394e78f92093f7d8df52eba9742e657e57e1.zip
GLK: FROTZ: Fix reading placeholder rects from Blorb files
Diffstat (limited to 'engines/glk/picture.cpp')
-rw-r--r--engines/glk/picture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/picture.cpp b/engines/glk/picture.cpp
index 306444449c..a87f7f7b81 100644
--- a/engines/glk/picture.cpp
+++ b/engines/glk/picture.cpp
@@ -135,8 +135,8 @@ Picture *Pictures::load(uint32 id) {
palCount = raw.getPaletteColorCount();
transColor = raw.getTransparentColor();
} else if (f.open(Common::String::format("pic%u.rect", id))) {
- rectImg.w = f.readUint16LE();
- rectImg.h = f.readUint16LE();
+ rectImg.w = f.readUint32BE();
+ rectImg.h = f.readUint32BE();
img = &rectImg;
} else {
// No such picture