SCUMM: Make fixing VGA Loom "Choas" typo optional

This commit is contained in:
Torbjörn Andersson 2022-03-17 19:25:35 +01:00 committed by Torbjörn Andersson
parent 52549c1678
commit 2a796cedd7
2 changed files with 2 additions and 2 deletions

View File

@ -229,7 +229,7 @@ const ExtraGuiOptions ScummMetaEngineDetection::getExtraGuiOptions(const Common:
const Common::String guiOptions = parseGameGUIOptions(guiOptionsString);
const Common::Platform platform = Common::parsePlatform(ConfMan.get("platform", target));
if (target.empty() || gameid == "monkey" || gameid == "monkey2" || gameid == "samnmax") {
if (target.empty() || gameid == "monkey" || gameid == "monkey2" || gameid == "samnmax" || (gameid == "loom" && (extra == "VGA" || extra == "Steam"))) {
options.push_back(enableEnhancements);
}

View File

@ -2977,7 +2977,7 @@ void ScummEngine_v5::decodeParseString() {
case 15:{ // SO_TEXTSTRING
const int len = resStrLen(_scriptPointer);
if (_game.id == GID_LOOM && vm.slot[_currentScript].number == 95 && strcmp((const char *)_scriptPointer, "I am Choas.") == 0) {
if (_game.id == GID_LOOM && vm.slot[_currentScript].number == 95 && strcmp((const char *)_scriptPointer, "I am Choas.") == 0 && ConfMan.getBool("enable_enhancements")) {
// WORKAROUND: This happens when Chaos introduces
// herself to bishop Mandible. Of all the places to put
// a typo...