diff options
author | Max Horn | 2008-03-14 17:31:04 +0000 |
---|---|---|
committer | Max Horn | 2008-03-14 17:31:04 +0000 |
commit | 6547ef6e129fb42c75c20f24e1f24dff1458f727 (patch) | |
tree | 95cdbfad275c76a32608d1a8b414e6824fe47091 /common/advancedDetector.cpp | |
parent | aa8105011748674313e7bf19e23ea8f2ee90c7aa (diff) | |
download | scummvm-rg350-6547ef6e129fb42c75c20f24e1f24dff1458f727.tar.gz scummvm-rg350-6547ef6e129fb42c75c20f24e1f24dff1458f727.tar.bz2 scummvm-rg350-6547ef6e129fb42c75c20f24e1f24dff1458f727.zip |
Started to get rid of Common::EncapsulatedADGameDesc (using plain Common::ADGameDescription instead)
svn-id: r31121
Diffstat (limited to 'common/advancedDetector.cpp')
-rw-r--r-- | common/advancedDetector.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/common/advancedDetector.cpp b/common/advancedDetector.cpp index e76de22d45..cc3b269fc1 100644 --- a/common/advancedDetector.cpp +++ b/common/advancedDetector.cpp @@ -271,14 +271,12 @@ PluginError AdvancedMetaEngine::createInstance(OSystem *syst, Engine **engine) c } } - if (result.realDesc != 0) { - debug(2, "Running %s", toGameDescriptor(result, params.list).description().c_str()); - } - if (result.realDesc == 0) { return kNoGameDataFoundError; } - if (!createInstance(syst, engine, result)) { + + debug(2, "Running %s", toGameDescriptor(result, params.list).description().c_str()); + if (!createInstance(syst, engine, result.realDesc)) { return kNoGameDataFoundError; } return kNoError; |