mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
Make the meta engine pass the pointer to the detected version and not the whole ADGameDescription table.
svn-id: r42018
This commit is contained in:
parent
d47ab6ae98
commit
fed2281125
@ -121,7 +121,7 @@ bool Draci::DraciEngine::hasFeature(EngineFeature f) const {
|
||||
|
||||
bool DraciMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const {
|
||||
if (desc) {
|
||||
*engine = new Draci::DraciEngine(syst, Draci::gameDescriptions);
|
||||
*engine = new Draci::DraciEngine(syst, desc);
|
||||
}
|
||||
return desc != 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user