aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2010-08-30 08:47:57 +0000
committerMartin Kiewitz2010-08-30 08:47:57 +0000
commit6d7d0ee94086d532b6263ff86705d8952aa20c49 (patch)
treeafc80aca35c55ac83961288216a6671b55b4fc95
parent3e6d55aee72743f5224401071f9081f0a06d7fad (diff)
downloadscummvm-rg350-6d7d0ee94086d532b6263ff86705d8952aa20c49.tar.gz
scummvm-rg350-6d7d0ee94086d532b6263ff86705d8952aa20c49.tar.bz2
scummvm-rg350-6d7d0ee94086d532b6263ff86705d8952aa20c49.zip
SCI: reverting r52448
broke importing, also savedgames are named "qfg1.0xx", so they werent showed before anyway and ".sav" is not mandatory for exported character files. svn-id: r52449
-rw-r--r--engines/sci/engine/kfile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp
index e335bf1476..48f3691cb5 100644
--- a/engines/sci/engine/kfile.cpp
+++ b/engines/sci/engine/kfile.cpp
@@ -944,12 +944,12 @@ reg_t DirSeeker::firstFile(const Common::String &mask, reg_t buffer, SegManager
int QfGImport = g_sci->inQfGImportRoom();
if (QfGImport) {
_files.clear();
- addAsVirtualFiles("-QfG1-", "qfg1-*.sav");
- addAsVirtualFiles("-QfG1VGA-", "qfg1vga-*.sav");
+ addAsVirtualFiles("-QfG1-", "qfg1-*");
+ addAsVirtualFiles("-QfG1VGA-", "qfg1vga-*");
if (QfGImport > 2)
- addAsVirtualFiles("-QfG2-", "qfg2-*.sav");
+ addAsVirtualFiles("-QfG2-", "qfg2-*");
if (QfGImport > 3)
- addAsVirtualFiles("-QfG3-", "qfg3-*.sav");
+ addAsVirtualFiles("-QfG3-", "qfg3-*");
if (QfGImport == 3) {
// QfG3 sorts the filelisting itself, we can't let that happen otherwise our