GROOVIE: Do not hide gameids for skipped subengines

This commit is contained in:
Eugene Sandulenko 2020-11-28 20:53:22 +01:00
parent e385e1159c
commit 77d2d3d061
2 changed files with 1 additions and 4 deletions

View file

@ -33,13 +33,10 @@ namespace Groovie {
static const PlainGameDescriptor groovieGames[] = { static const PlainGameDescriptor groovieGames[] = {
// Games // Games
{"t7g", "The 7th Guest"}, {"t7g", "The 7th Guest"},
#ifdef ENABLE_GROOVIE2
{"11h", "The 11th Hour: The Sequel to The 7th Guest"}, {"11h", "The 11th Hour: The Sequel to The 7th Guest"},
{"clandestiny", "Clandestiny"}, {"clandestiny", "Clandestiny"},
{"unclehenry", "Uncle Henry's Playhouse"}, {"unclehenry", "Uncle Henry's Playhouse"},
{"tlc", "Tender Loving Care"}, {"tlc", "Tender Loving Care"},
#endif
{0, 0} {0, 0}
}; };

View file

@ -50,7 +50,7 @@ bool GroovieMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADG
if (gd) { if (gd) {
#ifndef ENABLE_GROOVIE2 #ifndef ENABLE_GROOVIE2
if (((const GroovieGameDescription *)gd)->version == kGroovieV2) { if (((const GroovieGameDescription *)gd)->version == kGroovieV2) {
Engine::errorUnsupportedGame(_("11h Hour support is not compiled in")); Engine::errorUnsupportedGame(_("GroovieV2 support is not compiled in"));
return false; return false;
} }
#endif #endif