diff options
author | Christopher Page | 2008-08-15 07:10:23 +0000 |
---|---|---|
committer | Christopher Page | 2008-08-15 07:10:23 +0000 |
commit | 5bc5855ae9148672b242bd99f3faf5e7ede93ac8 (patch) | |
tree | adb6be3529aa692e1f02f17f002846fc4ac2c31d /gui | |
parent | 5acac50f54e1f927cd2b738c4f2feefb31a5e793 (diff) | |
download | scummvm-rg350-5bc5855ae9148672b242bd99f3faf5e7ede93ac8.tar.gz scummvm-rg350-5bc5855ae9148672b242bd99f3faf5e7ede93ac8.tar.bz2 scummvm-rg350-5bc5855ae9148672b242bd99f3faf5e7ede93ac8.zip |
Added some MetaEngineFeatures, defined MEFs for the Scumm engine
svn-id: r33893
Diffstat (limited to 'gui')
-rw-r--r-- | gui/launcher.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index bcf4709e78..dc3c2ee1d5 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -951,7 +951,8 @@ void LauncherDialog::loadGame(int item) { int idx; if (plugin) { do { - _loadDialog->setList(generateSavegameList(item, plugin)); + Common::StringList saveNames = generateSavegameList(item, plugin); + _loadDialog->setList(saveNames); SaveStateList saveList = (*plugin)->listSaves(description.c_str()); idx = _loadDialog->runModal(); if (idx >= 0) { @@ -959,7 +960,7 @@ void LauncherDialog::loadGame(int item) { if (_loadDialog->delSave()) { String filename = saveList[idx].filename(); printf("Deleting file: %s\n", filename.c_str()); - saveFileMan->removeSavefile(filename.c_str()); + //saveFileMan->removeSavefile(filename.c_str()); } // Load the savegame else { |