diff options
Diffstat (limited to 'engines/lure/detection.cpp')
-rw-r--r-- | engines/lure/detection.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/lure/detection.cpp b/engines/lure/detection.cpp index a69300ee2f..ced0be0cfb 100644 --- a/engines/lure/detection.cpp +++ b/engines/lure/detection.cpp @@ -205,7 +205,7 @@ public: LureMetaEngine() : AdvancedMetaEngine(detectionParams) {} virtual const char *getName() const { - return "Lure of the Temptress"; + return "Lure"; } virtual const char *getOriginalCopyright() const { @@ -271,11 +271,8 @@ SaveStateList LureMetaEngine::listSaves(const char *target) const { int LureMetaEngine::getMaximumSaveSlot() const { return 999; } void LureMetaEngine::removeSaveState(const char *target, int slot) const { - char extension[6]; - snprintf(extension, sizeof(extension), ".%03d", slot); - Common::String filename = target; - filename += extension; + filename += Common::String::format(".%03d", slot); g_system->getSavefileManager()->removeSavefile(filename); } |