diff options
Diffstat (limited to 'engines/sci/engine/kfile.cpp')
-rw-r--r-- | engines/sci/engine/kfile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp index a70ada5458..498891c5bc 100644 --- a/engines/sci/engine/kfile.cpp +++ b/engines/sci/engine/kfile.cpp @@ -923,8 +923,8 @@ void DirSeeker::addAsVirtualFiles(Common::String title, Common::String fileMask) 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 |