SCUMM: Fix MM NES palette and colors

Also adds an optional more natural palette as a game option
This commit is contained in:
mataniko 2020-05-02 13:31:43 -04:00 committed by Eugene Sandulenko
parent 217884d873
commit e85e6cf846
5 changed files with 86 additions and 35 deletions

View file

@ -1372,11 +1372,21 @@ static const ExtraGuiOption comiObjectLabelsOption = {
true
};
static const ExtraGuiOption mmnesObjectLabelsOption = {
_s("Use NES Classic Palette"),
_s("Use a more neutral color palette that closely emulates the NES Classic"),
"mm_nes_classic_palette",
false
};
const ExtraGuiOptions ScummMetaEngine::getExtraGuiOptions(const Common::String &target) const {
ExtraGuiOptions options;
if (target.empty() || ConfMan.get("gameid", target) == "comi") {
options.push_back(comiObjectLabelsOption);
}
if (target.empty() || Common::parsePlatform(ConfMan.get("platform", target)) == Common::kPlatformNES) {
options.push_back(mmnesObjectLabelsOption);
}
return options;
}