aboutsummaryrefslogtreecommitdiff
path: root/saga/image.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-11-02 08:37:14 +0000
committerTorbjörn Andersson2004-11-02 08:37:14 +0000
commitf2173960a77763a5ad673462ff417e7f8df403d8 (patch)
treebe485db1863379bdfd1705a01918641adc6b11e9 /saga/image.cpp
parent1af83b0c96104a3f465eecac607cb6b60001d519 (diff)
downloadscummvm-rg350-f2173960a77763a5ad673462ff417e7f8df403d8.tar.gz
scummvm-rg350-f2173960a77763a5ad673462ff417e7f8df403d8.tar.bz2
scummvm-rg350-f2173960a77763a5ad673462ff417e7f8df403d8.zip
Removed unknown part of IMAGE_HEADER struct since it wasn't used in the
original code either. (Apparently it was reserved for future use.) I think the only remaining data structure with unknown members now is ANIMATION_HEADER. Of course, there's probably a lot that isn't implemented at all, too... svn-id: r15708
Diffstat (limited to 'saga/image.cpp')
-rw-r--r--saga/image.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/saga/image.cpp b/saga/image.cpp
index c2f19282b9..7c98facc9c 100644
--- a/saga/image.cpp
+++ b/saga/image.cpp
@@ -68,8 +68,9 @@ int SagaEngine::decodeBGImage(const byte *image_data, size_t image_size,
hdr.width = readS.readUint16LE();
hdr.height = readS.readUint16LE();
- hdr.unknown4 = readS.readUint16LE();
- hdr.unknown6 = readS.readUint16LE();
+ // The next four bytes of the image header aren't used.
+ readS.readUint16LE();
+ readS.readUint16LE();
RLE_data_ptr = image_data + SAGA_IMAGE_DATA_OFFSET;
RLE_data_len = image_size - SAGA_IMAGE_DATA_OFFSET;