aboutsummaryrefslogtreecommitdiff
path: root/gui/launcher.cpp
diff options
context:
space:
mode:
authorChristopher Page2008-08-15 07:10:23 +0000
committerChristopher Page2008-08-15 07:10:23 +0000
commit5bc5855ae9148672b242bd99f3faf5e7ede93ac8 (patch)
treeadb6be3529aa692e1f02f17f002846fc4ac2c31d /gui/launcher.cpp
parent5acac50f54e1f927cd2b738c4f2feefb31a5e793 (diff)
downloadscummvm-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/launcher.cpp')
-rw-r--r--gui/launcher.cpp5
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 {