[Scummvm-cvs-logs] SF.net SVN: scummvm: [29767] scummvm/trunk/engines/saga/saveload.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sat Dec 8 18:48:52 CET 2007
Revision: 29767
http://scummvm.svn.sourceforge.net/scummvm/?rev=29767&view=rev
Author: thebluegr
Date: 2007-12-08 09:48:51 -0800 (Sat, 08 Dec 2007)
Log Message:
-----------
ioFailed() is now checked when saving a game
Modified Paths:
--------------
scummvm/trunk/engines/saga/saveload.cpp
Modified: scummvm/trunk/engines/saga/saveload.cpp
===================================================================
--- scummvm/trunk/engines/saga/saveload.cpp 2007-12-08 15:24:42 UTC (rev 29766)
+++ scummvm/trunk/engines/saga/saveload.cpp 2007-12-08 17:48:51 UTC (rev 29767)
@@ -217,7 +217,8 @@
out->finalize();
- // TODO: Check out->ioFailed()
+ if (out->ioFailed())
+ warning("Can't write file '%s'. (Disk full?)", fileName);
delete out;
}
@@ -252,7 +253,7 @@
warning("This savegame is not endian-safe. There may be problems");
if (_saveHeader.type != MKID_BE('SAGA')) {
- error("SagaEngine::load wrong format");
+ error("SagaEngine::load wrong save game format");
}
if (_saveHeader.version > 4) {
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