SAGA: Fixed palette setting inside Gfx::setPaletteColor() (thanks to LordHoto for noticing this)
This commit is contained in:
parent
ef38e4f57f
commit
28dae010fb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue