[Scummvm-cvs-logs] SF.net SVN: scummvm:[52451] scummvm/trunk/engines/sci/engine/kfile.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Mon Aug 30 12:18:31 CEST 2010
Revision: 52451
http://scummvm.svn.sourceforge.net/scummvm/?rev=52451&view=rev
Author: m_kiewitz
Date: 2010-08-30 10:18:31 +0000 (Mon, 30 Aug 2010)
Log Message:
-----------
SCI: adding comments for r52450
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kfile.cpp
Modified: scummvm/trunk/engines/sci/engine/kfile.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kfile.cpp 2010-08-30 10:14:50 UTC (rev 52450)
+++ scummvm/trunk/engines/sci/engine/kfile.cpp 2010-08-30 10:18:31 UTC (rev 52451)
@@ -923,8 +923,8 @@
Common::SeekableReadStream *testfile = saveFileMan->openForLoading(regularFilename);
int32 testfileSize = testfile->size();
delete testfile;
- if (testfileSize > 1024)
- continue;
+ if (testfileSize > 1024) // check, if larger than 1k. in that case its a saved game.
+ continue; // and we dont want to have those in the list
// We need to remove the prefix for display purposes
_files.push_back(wrappedFilename);
// but remember the actual name as well
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