diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/launcher.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 6af9791810..17fdbaddbb 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -968,12 +968,14 @@ 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 { int slot = atoi(saveList[idx].save_slot().c_str()); + const char *file = saveList[idx].filename().c_str(); printf("Loading slot: %d\n", slot); + printf("Loading file: %s\n", file); ConfMan.setInt("save_slot", slot); ConfMan.setActiveDomain(_domains[item]); close(); |