aboutsummaryrefslogtreecommitdiff
path: root/engines/made/detection.cpp
diff options
context:
space:
mode:
authorMax Horn2008-11-06 13:59:39 +0000
committerMax Horn2008-11-06 13:59:39 +0000
commit142a8d5a51c80d33175c94540ae5c487079d45e4 (patch)
tree038c57c6e52dcf3595c9b7d418c9d9ff018fa44b /engines/made/detection.cpp
parent252409d49c269a74108494b65c52ac0e67f287af (diff)
downloadscummvm-rg350-142a8d5a51c80d33175c94540ae5c487079d45e4.tar.gz
scummvm-rg350-142a8d5a51c80d33175c94540ae5c487079d45e4.tar.bz2
scummvm-rg350-142a8d5a51c80d33175c94540ae5c487079d45e4.zip
Simplified AdvancedMetaEngine::fallbackDetect usage
svn-id: r34909
Diffstat (limited to 'engines/made/detection.cpp')
-rw-r--r--engines/made/detection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/made/detection.cpp b/engines/made/detection.cpp
index 354e5bbb86..df9db57ecc 100644
--- a/engines/made/detection.cpp
+++ b/engines/made/detection.cpp
@@ -350,7 +350,7 @@ public:
virtual bool createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const;
- const Common::ADGameDescription *fallbackDetect(const Common::FSList *fslist) const;
+ const Common::ADGameDescription *fallbackDetect(const Common::FSList &fslist) const;
};
@@ -362,7 +362,7 @@ bool MadeMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common
return gd != 0;
}
-const Common::ADGameDescription *MadeMetaEngine::fallbackDetect(const Common::FSList *fslist) const {
+const Common::ADGameDescription *MadeMetaEngine::fallbackDetect(const Common::FSList &fslist) const {
// Set the default values for the fallback descriptor's ADGameDescription part.
Made::g_fallbackDesc.desc.language = Common::UNK_LANG;
Made::g_fallbackDesc.desc.platform = Common::kPlatformPC;