aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2018-11-11 09:35:28 -0800
committerPaul Gilbert2018-12-08 19:05:59 -0800
commitcc9b52e5ac9c0e08e86f07c94713c3ebc54dc680 (patch)
treeca9e51afb2d67b0ab2efcfa37ca21e982be3bd53 /engines
parentf19f92e396e348e095e51becc902cdb5ef62618b (diff)
downloadscummvm-rg350-cc9b52e5ac9c0e08e86f07c94713c3ebc54dc680.tar.gz
scummvm-rg350-cc9b52e5ac9c0e08e86f07c94713c3ebc54dc680.tar.bz2
scummvm-rg350-cc9b52e5ac9c0e08e86f07c94713c3ebc54dc680.zip
GLK: Implement the removeSaveState method
Diffstat (limited to 'engines')
-rw-r--r--engines/gargoyle/detection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/gargoyle/detection.cpp b/engines/gargoyle/detection.cpp
index 4238e643ee..5ff0cc753c 100644
--- a/engines/gargoyle/detection.cpp
+++ b/engines/gargoyle/detection.cpp
@@ -242,6 +242,8 @@ int GargoyleMetaEngine::getMaximumSaveSlot() const {
}
void GargoyleMetaEngine::removeSaveState(const char *target, int slot) const {
+ Common::String filename = Common::String::format("%s.%03d", target, slot);
+ g_system->getSavefileManager()->removeSavefile(filename);
}
SaveStateDescriptor GargoyleMetaEngine::querySaveMetaInfos(const char *target, int slot) const {