aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/lure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lure/lure.cpp')
-rw-r--r--engines/lure/lure.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/lure/lure.cpp b/engines/lure/lure.cpp
index 5ec33994a3..dab02a5ca3 100644
--- a/engines/lure/lure.cpp
+++ b/engines/lure/lure.cpp
@@ -154,8 +154,10 @@ DetectedGameList Engine_LURE_detectGames(const FSList &fslist) {
return detectedGames;
}
-Engine *Engine_LURE_create(OSystem *system) {
- return new LureEngine(system);
+PluginError Engine_LURE_create(OSystem *syst, Engine **engine) {
+ assert(engine);
+ *engine = new LureEngine(syst);
+ return kNoError;
}
REGISTER_PLUGIN(LURE, "Lure of the Temptress Engine");