diff options
author | Eugene Sandulenko | 2016-09-21 08:46:19 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-21 08:46:19 +0200 |
commit | 41fea11ce68d21f900f39e65c35f766f2d7a5509 (patch) | |
tree | 029b8f1fc6136687975dec8318e6d0f8c9aba272 /engines/fullpipe | |
parent | d0da9069cefb16930b55b4fdb38b126b4802dff1 (diff) | |
download | scummvm-rg350-41fea11ce68d21f900f39e65c35f766f2d7a5509.tar.gz scummvm-rg350-41fea11ce68d21f900f39e65c35f766f2d7a5509.tar.bz2 scummvm-rg350-41fea11ce68d21f900f39e65c35f766f2d7a5509.zip |
FULLPIPE: Furhter simplification of loading code
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/stateloader.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/fullpipe/stateloader.cpp b/engines/fullpipe/stateloader.cpp index c383442098..b61834db34 100644 --- a/engines/fullpipe/stateloader.cpp +++ b/engines/fullpipe/stateloader.cpp @@ -185,8 +185,7 @@ bool readSavegameHeader(Common::InSaveFile *in, FullpipeSavegameHeader &header) uint oldPos = in->pos(); - // SEEK_END doesn't work with zipped savegames, so simulate it - in->seek(in->size() - 4, SEEK_SET); + in->seek(-4, SEEK_END); uint headerOffset = in->readUint32LE(); |