SCI: Fix compilation following recent AdvancedMetaEngine changes
This commit is contained in:
parent
03b98c0242
commit
4ed344b111
1 changed files with 1 additions and 2 deletions
|
@ -322,8 +322,7 @@ Common::Error SciMetaEngine::createInstance(OSystem *syst, Engine **engine, cons
|
||||||
if (0 == strcmp(desc->gameId, g->gameidStr)) {
|
if (0 == strcmp(desc->gameId, g->gameidStr)) {
|
||||||
#ifndef ENABLE_SCI32
|
#ifndef ENABLE_SCI32
|
||||||
if (g->isSci32) {
|
if (g->isSci32) {
|
||||||
Engine::errorUnsupportedGame(_("SCI32 support not compiled in"));
|
return Common::Error(Common::kUnsupportedGameidError, _s("SCI32 support not compiled in"));
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue