TrustedUser
2,147
edits
Ccawley2011 (talk | contribs) (Update to reflect the recent MetaEngine changes) |
(→Example: engines/quux/metaengine.cpp: Update to reflect recent changes) |
||
Line 352: | Line 352: | ||
} | } | ||
Common::Error createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const override; | |||
}; | }; | ||
Common::Error QuuxMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const { | |||
*engine = new Quux::QuuxEngine(syst); | *engine = new Quux::QuuxEngine(syst); | ||
return | return Common::kNoError; | ||
} | } | ||