diff options
-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 { |