[Scummvm-cvs-logs] SF.net SVN: scummvm: [31246] scummvm/trunk/engines/kyra/saveload.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Wed Mar 26 21:28:31 CET 2008


Revision: 31246
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31246&view=rev
Author:   lordhoto
Date:     2008-03-26 13:28:31 -0700 (Wed, 26 Mar 2008)

Log Message:
-----------
Extended savegame type checks.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/saveload.cpp

Modified: scummvm/trunk/engines/kyra/saveload.cpp
===================================================================
--- scummvm/trunk/engines/kyra/saveload.cpp	2008-03-26 19:58:33 UTC (rev 31245)
+++ scummvm/trunk/engines/kyra/saveload.cpp	2008-03-26 20:28:31 UTC (rev 31246)
@@ -73,16 +73,16 @@
 		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;
 		}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list