Added support for HoF savefile from the original interpreter.

svn-id: r31249
This commit is contained in:
Johannes Schickel 2008-03-26 21:17:07 +00:00
parent 6412c82bf7
commit 7c33605761
4 changed files with 224 additions and 75 deletions

View file

@ -52,7 +52,7 @@ Common::InSaveFile *KyraEngine::openSaveForReading(const char *filename, uint32
// following line to graciously handle old savegames from LE machines.
// if (type != MKID_BE('KYRA') && type != MKID_BE('ARYK')) {
if (type != MKID_BE(saveGameID())) {
warning("No Kyrandia savefile header.");
warning("No ScummVM Kyra engine savefile header.");
delete in;
return 0;
}