diff options
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 { |