aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r--engines/sci/sci.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index 8d1a0b5095..23e143b13d 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -348,4 +348,10 @@ uint32 SciEngine::getFlags() const {
return _gameDescription->desc.flags;
}
+Common::String SciEngine::getSavegameName(int nr) const {
+ char extension[6];
+ snprintf(extension, sizeof(extension), ".%03d", nr);
+ return _targetName + extension;
+}
+
} // End of namespace Sci