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 /engines/agi/detection.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 'engines/agi/detection.cpp')
-rw-r--r-- | engines/agi/detection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp index d2912898ea..2adb2aacd4 100644 --- a/engines/agi/detection.cpp +++ b/engines/agi/detection.cpp @@ -2270,15 +2270,15 @@ public: return "Sierra AGI Engine (C) Sierra On-Line Software"; } - virtual bool createInstance(OSystem *syst, Engine **engine, const Common::EncapsulatedADGameDesc &encapsulatedDesc) const; + virtual bool createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const; Common::EncapsulatedADGameDesc fallbackDetect(const FSList *fslist) const { return Agi::fallbackDetector(fslist); } }; -bool AgiMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::EncapsulatedADGameDesc &encapsulatedDesc) const { - const Agi::AGIGameDescription *gd = (const Agi::AGIGameDescription *)(encapsulatedDesc.realDesc); +bool AgiMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const { + const Agi::AGIGameDescription *gd = (const Agi::AGIGameDescription *)desc; bool res = true; switch (gd->gameType) { |