aboutsummaryrefslogtreecommitdiff
path: root/engines/cryo
diff options
context:
space:
mode:
authorFilippos Karapetis2017-02-11 18:05:07 +0200
committerFilippos Karapetis2017-02-11 18:05:07 +0200
commitdeb0857f6822274947c4e63aa801efc992748e44 (patch)
treec6ac81327e17ee974e26905c74a4a4c1f0adf043 /engines/cryo
parentfefad640cd171fd17f8a7e08326c7e6f3e91d684 (diff)
downloadscummvm-rg350-deb0857f6822274947c4e63aa801efc992748e44.tar.gz
scummvm-rg350-deb0857f6822274947c4e63aa801efc992748e44.tar.bz2
scummvm-rg350-deb0857f6822274947c4e63aa801efc992748e44.zip
CRYO: Change the version of cryo.dat to be a 32-bit integer (2/2)
Though it's unlikely that we'll ever have that many changes, it's better to provision for more space now, for versioning
Diffstat (limited to 'engines/cryo')
-rw-r--r--engines/cryo/eden.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cryo/eden.cpp b/engines/cryo/eden.cpp
index b6064c70b9..4807a942bb 100644
--- a/engines/cryo/eden.cpp
+++ b/engines/cryo/eden.cpp
@@ -4778,7 +4778,7 @@ void EdenGame::loadpermfiles() {
if (strcmp(headerId, "CRYODATA"))
error("Invalid aux data file");
- if (f.readByte() != CRYO_DAT_VER)
+ if (f.readUint32LE() != CRYO_DAT_VER)
error("Incorrect aux data version");
if (dataSize != expectedDataSize)