mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
SAGA: Fixed palette setting inside Gfx::setPaletteColor() (thanks to LordHoto for noticing this)
This commit is contained in:
parent
ef38e4f57f
commit
28dae010fb
@ -238,7 +238,7 @@ void Gfx::setPaletteColor(int n, int r, int g, int b) {
|
||||
}
|
||||
|
||||
if (update)
|
||||
_system->getPaletteManager()->setPalette(_currentPal, n, 1);
|
||||
_system->getPaletteManager()->setPalette(_currentPal + n * 3, n, 1);
|
||||
}
|
||||
|
||||
void Gfx::getCurrentPal(PalEntry *src_pal) {
|
||||
|
Loading…
Reference in New Issue
Block a user