diff options
author | Filippos Karapetis | 2011-12-17 19:28:04 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-17 19:28:04 +0200 |
commit | 0731bcb5acb9a591eac843904e725de98b19fa73 (patch) | |
tree | f2318b6b05e752ad60805b959d4e6d01328a8bee /engines | |
parent | 3185dac25e2f1984ccf92e7c33eee12caa6cd676 (diff) | |
download | scummvm-rg350-0731bcb5acb9a591eac843904e725de98b19fa73.tar.gz scummvm-rg350-0731bcb5acb9a591eac843904e725de98b19fa73.tar.bz2 scummvm-rg350-0731bcb5acb9a591eac843904e725de98b19fa73.zip |
DREAMWEB: Implement removeSaveState()
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/detection.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/dreamweb/detection.cpp b/engines/dreamweb/detection.cpp index ba7152beb5..db2155fc4c 100644 --- a/engines/dreamweb/detection.cpp +++ b/engines/dreamweb/detection.cpp @@ -116,6 +116,8 @@ SaveStateList DreamWebMetaEngine::listSaves(const char *target) const { int DreamWebMetaEngine::getMaximumSaveSlot() const { return 99; } void DreamWebMetaEngine::removeSaveState(const char *target, int slot) const { + Common::String fileName = Common::String::format("DREAMWEB.D%02d", slot); + g_system->getSavefileManager()->removeSavefile(fileName); } #if PLUGIN_ENABLED_DYNAMIC(DREAMWEB) |