mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
Fix cursor colors in chemsitry set for FF
svn-id: r21933
This commit is contained in:
parent
26736f9a67
commit
cadafb0689
@ -1314,12 +1314,15 @@ void SimonEngine::o_screenTextMsg() {
|
||||
|
||||
void SimonEngine::o_playEffect() {
|
||||
// 163: play sound
|
||||
uint sound_id = getVarOrWord();
|
||||
uint soundId = getVarOrWord();
|
||||
|
||||
if (getGameType() == GType_FF)
|
||||
error("o_playEffect: triggered");
|
||||
|
||||
if (getGameId() == GID_SIMON1DOS)
|
||||
playSting(sound_id);
|
||||
playSting(soundId);
|
||||
else
|
||||
_sound->playEffects(sound_id);
|
||||
_sound->playEffects(soundId);
|
||||
}
|
||||
|
||||
void SimonEngine::o_getDollar2() {
|
||||
@ -1977,16 +1980,16 @@ void SimonEngine::o3_restartClock() {
|
||||
|
||||
void SimonEngine::o3_setColour() {
|
||||
// 195: set palette colour
|
||||
uint b = getVarOrByte();
|
||||
uint g = getVarOrByte();
|
||||
uint r = getVarOrByte();
|
||||
uint c = getVarOrByte() * 4;
|
||||
uint r = getVarOrByte();
|
||||
uint g = getVarOrByte();
|
||||
uint b = getVarOrByte();
|
||||
|
||||
_palette[c + 0] = _paletteBackup[c + 0] = r;
|
||||
_palette[c + 1] = _paletteBackup[c + 1] = g;
|
||||
_palette[c + 2] = _paletteBackup[c + 2] = b;
|
||||
_palette[c + 0] = r;
|
||||
_palette[c + 1] = g;
|
||||
_palette[c + 2] = b;
|
||||
|
||||
debug(0, "o3_setColour (%d, %d, %d, %d)", c, r, g, b);
|
||||
_paletteFlag = 2;
|
||||
}
|
||||
|
||||
void SimonEngine::o3_b3Set() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user