- fixed savegame description loading in kyra1

- added Kyra2 load menu, currently just accessable from startup menu though

svn-id: r31331
This commit is contained in:
Johannes Schickel 2008-03-30 18:27:46 +00:00
parent 5f3529ce78
commit f4e6109b33
12 changed files with 395 additions and 40 deletions

View file

@ -107,10 +107,8 @@ Common::InSaveFile *KyraEngine::openSaveForReading(const char *filename, SaveHea
debugC(9, kDebugLevelMain, "KyraEngine::openSaveForReading('%s', -)", filename);
Common::InSaveFile *in = 0;
if (!(in = _saveFileMan->openForLoading(filename))) {
warning("Can't open file '%s', game not loadable", filename);
if (!(in = _saveFileMan->openForLoading(filename)))
return 0;
}
kReadSaveHeaderError errorCode = KyraEngine::readSaveHeader(in, header);
if (errorCode != kRSHENoError) {