diff options
author | Filippos Karapetis | 2009-12-19 10:43:38 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-20 22:43:08 +0100 |
commit | cb5c0e698667ff0e277be19b01b406367a0747c9 (patch) | |
tree | 55e9c99e647dffe4f2862629c79d6861c3f60ba0 /engines/toltecs | |
parent | b038d2e4f2473383b2c9fcccdaf0861f21c7a3d5 (diff) | |
download | scummvm-rg350-cb5c0e698667ff0e277be19b01b406367a0747c9.tar.gz scummvm-rg350-cb5c0e698667ff0e277be19b01b406367a0747c9.tar.bz2 scummvm-rg350-cb5c0e698667ff0e277be19b01b406367a0747c9.zip |
TOLTECS: Sync with ScummVM rev. 46379
Diffstat (limited to 'engines/toltecs')
-rw-r--r-- | engines/toltecs/saveload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/toltecs/saveload.cpp b/engines/toltecs/saveload.cpp index d758fa712d..cccc3e6817 100644 --- a/engines/toltecs/saveload.cpp +++ b/engines/toltecs/saveload.cpp @@ -79,7 +79,7 @@ ToltecsEngine::kReadSaveHeaderError ToltecsEngine::readSaveHeader(Common::Seekab header.gameID = in->readByte(); header.flags = in->readUint32LE(); - return (in->ioFailed() ? kRSHEIoError : kRSHENoError); + return ((in->eos() || in->err()) ? kRSHEIoError : kRSHENoError); } void ToltecsEngine::savegame(const char *filename, const char *description) { |