aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2015-05-09 09:29:06 -0400
committerPaul Gilbert2015-05-09 09:29:06 -0400
commitccb8c03737ef04dc7ec964cba3516652def3d077 (patch)
tree23115a46d824ce4cf248dea21df4534536ab205a
parent4950deaf33dc46521e495d36b9d0f1933d007aa1 (diff)
downloadscummvm-rg350-ccb8c03737ef04dc7ec964cba3516652def3d077.tar.gz
scummvm-rg350-ccb8c03737ef04dc7ec964cba3516652def3d077.tar.bz2
scummvm-rg350-ccb8c03737ef04dc7ec964cba3516652def3d077.zip
SHERLOCK: Further cleanup fixes for detection
-rw-r--r--engines/sherlock/detection.cpp3
-rw-r--r--engines/sherlock/detection_tables.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/engines/sherlock/detection.cpp b/engines/sherlock/detection.cpp
index 82ac5a4c3d..a6b980fea3 100644
--- a/engines/sherlock/detection.cpp
+++ b/engines/sherlock/detection.cpp
@@ -52,7 +52,6 @@ Common::Platform SherlockEngine::getPlatform() const {
} // End of namespace Sherlock
static const PlainGameDescriptor sherlockGames[] = {
- {"sherlock", "The Lost Files of Sherlock Holmes"},
{ "scalpel", "The Case of the Serrated Scalpel" },
{ "rosetattoo", "The Case of the Rose Tattoo" },
{0, 0}
@@ -127,7 +126,7 @@ bool Sherlock::SherlockEngine::hasFeature(EngineFeature f) const {
* Return a list of savegames
*/
SaveStateList SherlockMetaEngine::listSaves(const char *target) const {
- return Sherlock::SaveManager(nullptr, "").getSavegameList(target);
+ return Sherlock::SaveManager::getSavegameList(target);
}
/**
diff --git a/engines/sherlock/detection_tables.h b/engines/sherlock/detection_tables.h
index 401ede3b07..8f17e8f8ea 100644
--- a/engines/sherlock/detection_tables.h
+++ b/engines/sherlock/detection_tables.h
@@ -37,7 +37,7 @@ static const SherlockGameDescription gameDescriptions[] = {
GType_SerratedScalpel,
},
- { AD_TABLE_END_MARKER }
+ { AD_TABLE_END_MARKER, (GameType)0 }
};
} // End of namespace MADS