NES PPU - Palette Viewer - fix sprite palette display
This commit is contained in:
parent
1d39da2427
commit
9885977e4f
BizHawk.MultiClient/NEStools
|
@ -70,7 +70,7 @@ namespace BizHawk.MultiClient
|
|||
for (int x = 0; x < 16; x++)
|
||||
{
|
||||
PaletteView.bgPalettes[x].SetValue(Nes.LookupColor(Nes.ppu.PALRAM[PaletteView.bgPalettes[x].address]));
|
||||
PaletteView.spritePalettes[x].SetValue(Nes.ppu.PALRAM[PaletteView.spritePalettes[x].address]);
|
||||
PaletteView.spritePalettes[x].SetValue(Nes.LookupColor(Nes.ppu.PALRAM[PaletteView.spritePalettes[x].address]));
|
||||
}
|
||||
PaletteView.Refresh();
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ namespace BizHawk.MultiClient
|
|||
for (int x = 0; x < 16; x++)
|
||||
{
|
||||
bgPalettes[x] = new Palette(x);
|
||||
spritePalettes[x] = new Palette(x);
|
||||
spritePalettes[x] = new Palette(x+16);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue