diff options
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/game.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/saga/game.cpp b/engines/saga/game.cpp index e9b215e99d..cad25c7aff 100644 --- a/engines/saga/game.cpp +++ b/engines/saga/game.cpp @@ -83,8 +83,10 @@ DetectedGameList Engine_SAGA_detectGames(const FSList &fslist) { return Saga::GAME_detectGames(fslist); } -Engine *Engine_SAGA_create(OSystem *syst) { - return new Saga::SagaEngine(syst); +PluginError Engine_SAGA_create(OSystem *syst, Engine **engine) { + assert(engine); + *engine = new Saga::SagaEngine(syst); + return kNoError; } REGISTER_PLUGIN(SAGA, "SAGA Engine"); |