diff options
author | Filippos Karapetis | 2017-02-11 18:05:07 +0200 |
---|---|---|
committer | Filippos Karapetis | 2017-02-11 18:05:07 +0200 |
commit | deb0857f6822274947c4e63aa801efc992748e44 (patch) | |
tree | c6ac81327e17ee974e26905c74a4a4c1f0adf043 /engines/cryo | |
parent | fefad640cd171fd17f8a7e08326c7e6f3e91d684 (diff) | |
download | scummvm-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.cpp | 2 |
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) |