aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2008-03-26 20:28:31 +0000
committerJohannes Schickel2008-03-26 20:28:31 +0000
commit4b0bdc7a08fb7358637f82b8270844e5080c6c05 (patch)
treea22b72e611c711302dc4f328141c696ca93d7cc8
parentc2df92a9b5079af28dc9debafdbd2ae528db7d71 (diff)
downloadscummvm-rg350-4b0bdc7a08fb7358637f82b8270844e5080c6c05.tar.gz
scummvm-rg350-4b0bdc7a08fb7358637f82b8270844e5080c6c05.tar.bz2
scummvm-rg350-4b0bdc7a08fb7358637f82b8270844e5080c6c05.zip
Extended savegame type checks.
svn-id: r31246
-rw-r--r--engines/kyra/saveload.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/saveload.cpp b/engines/kyra/saveload.cpp
index 80dcd4144c..a0aaa05ba6 100644
--- a/engines/kyra/saveload.cpp
+++ b/engines/kyra/saveload.cpp
@@ -73,16 +73,16 @@ Common::InSaveFile *KyraEngine::openSaveForReading(const char *filename, uint32
warning("Make sure your savefile was from this version! (too old savefile version to detect that)");
} else {
uint32 flags = in->readUint32BE();
- if ((flags & GF_FLOPPY) && _flags.isTalkie) {
- warning("Can not load floppy savefile for this (non floppy) gameversion");
+ if ((flags & GF_FLOPPY) && (_flags.isTalkie || _flags.platform == Common::kPlatformFMTowns || _flags.platform == Common::kPlatformPC98)) {
+ warning("Can not load DOS Floppy savefile for this (non DOS Floppy) gameversion");
delete in;
return 0;
} else if ((flags & GF_TALKIE) && !(_flags.isTalkie)) {
- warning("Can not load cdrom savefile for this (non cdrom) gameversion");
+ warning("Can not load DOS CD-ROM savefile for this (non DOS CD-ROM) gameversion");
delete in;
return 0;
} else if ((flags & GF_FMTOWNS) && !(_flags.platform == Common::kPlatformFMTowns || _flags.platform == Common::kPlatformPC98)) {
- warning("can not load FM-Towns/PC98 savefile for this (non FM-Towns/PC98) gameversion");
+ warning("Can not load FM-Towns/PC98 savefile for this (non FM-Towns/PC98) gameversion");
delete in;
return 0;
}