aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lure/detection.cpp')
-rw-r--r--engines/lure/detection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lure/detection.cpp b/engines/lure/detection.cpp
index e7b4d1bcd8..ea1835ff86 100644
--- a/engines/lure/detection.cpp
+++ b/engines/lure/detection.cpp
@@ -184,11 +184,11 @@ public:
return "Lure of the Temptress (C) Revolution";
}
- 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 LureMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::EncapsulatedADGameDesc &encapsulatedDesc) const {
- const Lure::LureGameDescription *gd = (const Lure::LureGameDescription *)(encapsulatedDesc.realDesc);
+bool LureMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const {
+ const Lure::LureGameDescription *gd = (const Lure::LureGameDescription *)desc;
if (gd) {
*engine = new Lure::LureEngine(syst, gd);
}