[Scummvm-git-logs] scummvm master -> 993476ad17ed763e0ce9dbc39ea927e2b193f42e

dreammaster paulfgilbert at gmail.com
Sat Sep 19 04:34:32 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
993476ad17 ULTIMA: No need to override metaengine savegame pattern


Commit: 993476ad17ed763e0ce9dbc39ea927e2b193f42e
    https://github.com/scummvm/scummvm/commit/993476ad17ed763e0ce9dbc39ea927e2b193f42e
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-09-18T21:34:22-07:00

Commit Message:
ULTIMA: No need to override metaengine savegame pattern

Changed paths:
    engines/ultima/detection.cpp
    engines/ultima/detection.h


diff --git a/engines/ultima/detection.cpp b/engines/ultima/detection.cpp
index fbc700489f..2b35be3da8 100644
--- a/engines/ultima/detection.cpp
+++ b/engines/ultima/detection.cpp
@@ -101,20 +101,6 @@ int UltimaMetaEngine::getMaximumSaveSlot() const {
 	return MAX_SAVES;
 }
 
-const char *UltimaMetaEngine::getSavegamePattern(const char *target) const {
-	static char buffer[100];
-	snprintf(buffer, 100, "%s.###", target == nullptr ? getEngineId() : target);
-
-	return buffer;
-}
-
-const char *UltimaMetaEngine::getSavegameFile(int saveGameIdx, const char *target) const {
-	static char buffer[100];
-	snprintf(buffer, 100, "%s.%.3d", target == nullptr ? getEngineId() : target, saveGameIdx);
-
-	return buffer;
-}
-
 SaveStateList UltimaMetaEngine::listSaves(const char *target) const {
 	SaveStateList saveList = AdvancedMetaEngine::listSaves(target);
 
diff --git a/engines/ultima/detection.h b/engines/ultima/detection.h
index 6a9764ad1e..a64459d1a9 100644
--- a/engines/ultima/detection.h
+++ b/engines/ultima/detection.h
@@ -83,9 +83,6 @@ public:
 		return "Ultima Games (C) 1980-1995 Origin Systems Inc.";
 	}
 
-	const char *getSavegamePattern(const char *target = nullptr) const override;
-	const char *getSavegameFile(int saveGameIdx, const char *target = nullptr) const override;
-
 	bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const override;
 	int getMaximumSaveSlot() const override;
 




More information about the Scummvm-git-logs mailing list