aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2006-01-16 00:40:49 +0000
committerTravis Howell2006-01-16 00:40:49 +0000
commitb402ec2b9df78e5ceae22dfba75c01a578b6b7cd (patch)
tree07f133a61fad92900ecbf0f1dd8b54a44a25bbd0
parent77e213ff7c47e9c7d289d81467994e0cf8e69e13 (diff)
downloadscummvm-rg350-b402ec2b9df78e5ceae22dfba75c01a578b6b7cd.tar.gz
scummvm-rg350-b402ec2b9df78e5ceae22dfba75c01a578b6b7cd.tar.bz2
scummvm-rg350-b402ec2b9df78e5ceae22dfba75c01a578b6b7cd.zip
Index block are specific to later HE games.
svn-id: r20048
-rw-r--r--scumm/resource.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 4490dbc9b0..67172fdf72 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -463,6 +463,16 @@ void ScummEngine_v70he::readIndexBlock(uint32 blocktype, uint32 itemsize) {
_fileHandle->read(_heV7DiskOffsets, i);
break;
+ case MKID('SVER'):
+ _fileHandle->seek(itemsize - 8, SEEK_CUR);
+ debug(0, "SVER index block not yet handled, skipping");
+ break;
+
+ case MKID('INIB'):
+ _fileHandle->seek(itemsize - 8, SEEK_CUR);
+ debug(2, "INIB index block not yet handled, skipping");
+ break;
+
default:
ScummEngine::readIndexBlock(blocktype, itemsize);
}
@@ -514,16 +524,6 @@ void ScummEngine::readIndexBlock(uint32 blocktype, uint32 itemsize) {
readResTypeList(rtTalkie, MKID('TLKE'), "talkie");
break;
- case MKID('SVER'):
- _fileHandle->seek(itemsize - 8, SEEK_CUR);
- debug(0, "SVER index block not yet handled, skipping");
- break;
-
- case MKID('INIB'):
- _fileHandle->seek(itemsize - 8, SEEK_CUR);
- debug(2, "INIB index block not yet handled, skipping");
- break;
-
case MKID('DIRI'):
readResTypeList(rtRoomImage, MKID('RMIM'), "room image");
break;