aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2011-12-17 19:28:04 +0200
committerFilippos Karapetis2011-12-17 19:28:04 +0200
commit0731bcb5acb9a591eac843904e725de98b19fa73 (patch)
treef2318b6b05e752ad60805b959d4e6d01328a8bee /engines
parent3185dac25e2f1984ccf92e7c33eee12caa6cd676 (diff)
downloadscummvm-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.cpp2
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)