From 6547ef6e129fb42c75c20f24e1f24dff1458f727 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 14 Mar 2008 17:31:04 +0000 Subject: Started to get rid of Common::EncapsulatedADGameDesc (using plain Common::ADGameDescription instead) svn-id: r31121 --- engines/cruise/detection.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/cruise') diff --git a/engines/cruise/detection.cpp b/engines/cruise/detection.cpp index 07d2ab7c8e..b9330ada77 100644 --- a/engines/cruise/detection.cpp +++ b/engines/cruise/detection.cpp @@ -133,11 +133,11 @@ public: return "Cruise for a Corpse (C) Delphine 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; }; -bool CruiseMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::EncapsulatedADGameDesc &encapsulatedDesc) const { - const Cruise::CRUISEGameDescription *gd = (const Cruise::CRUISEGameDescription *)(encapsulatedDesc.realDesc); +bool CruiseMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const { + const Cruise::CRUISEGameDescription *gd = (const Cruise::CRUISEGameDescription *)desc; if (gd) { *engine = new Cruise::CruiseEngine(syst, gd); } -- cgit v1.2.3