diff options
author | Paul Gilbert | 2018-11-11 09:35:28 -0800 |
---|---|---|
committer | Paul Gilbert | 2018-12-08 19:05:59 -0800 |
commit | cc9b52e5ac9c0e08e86f07c94713c3ebc54dc680 (patch) | |
tree | ca9e51afb2d67b0ab2efcfa37ca21e982be3bd53 /engines | |
parent | f19f92e396e348e095e51becc902cdb5ef62618b (diff) | |
download | scummvm-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.cpp | 2 |
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 { |