aboutsummaryrefslogtreecommitdiff
path: root/engines/gargoyle/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gargoyle/detection.cpp')
-rw-r--r--engines/gargoyle/detection.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/gargoyle/detection.cpp b/engines/gargoyle/detection.cpp
index 4363c4607c..245790a69f 100644
--- a/engines/gargoyle/detection.cpp
+++ b/engines/gargoyle/detection.cpp
@@ -142,8 +142,7 @@ bool Gargoyle::GargoyleEngine::hasFeature(EngineFeature f) const {
}
bool GargoyleMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const {
- Gargoyle::GargoyleGameDescription *gd = (Gargoyle::GargoyleGameDescription *)desc;
- gd->_filename = ConfMan.get("filename");
+ const Gargoyle::GargoyleGameDescription *gd = (const Gargoyle::GargoyleGameDescription *)desc;
switch (gd->_interpType) {
case Gargoyle::INTERPRETER_SCOTT: