diff options
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/detection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agos/detection.cpp b/engines/agos/detection.cpp index ce3e4f34de..fd56651a70 100644 --- a/engines/agos/detection.cpp +++ b/engines/agos/detection.cpp @@ -109,11 +109,11 @@ public: return "AGOS (C) Adventure Soft"; } - virtual bool createInstance(OSystem *syst, Engine **engine, const Common::EncapsulatedADGameDesc &encapsulatedDesc) const; + virtual bool createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const; }; -bool AgosMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::EncapsulatedADGameDesc &encapsulatedDesc) const { - const AGOS::AGOSGameDescription *gd = (const AGOS::AGOSGameDescription *)(encapsulatedDesc.realDesc); +bool AgosMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const { + const AGOS::AGOSGameDescription *gd = (const AGOS::AGOSGameDescription *)desc; bool res = true; switch (gd->gameType) { |