diff --git a/BizHawk.MultiClient/NEStools/NESPPU.cs b/BizHawk.MultiClient/NEStools/NESPPU.cs index 3c2ae9a6df..a1a70c8c2a 100644 --- a/BizHawk.MultiClient/NEStools/NESPPU.cs +++ b/BizHawk.MultiClient/NEStools/NESPPU.cs @@ -49,7 +49,7 @@ namespace BizHawk.MultiClient if (!this.IsHandleCreated || this.IsDisposed) return; for (int x = 0; x < 16; x++) { - PaletteView.bgPalettes[x].SetValue(Nes.ppu.PALRAM[PaletteView.bgPalettes[x].address]); + PaletteView.bgPalettes[x].SetValue(Nes.ConvertColor(Nes.ppu.PALRAM[PaletteView.bgPalettes[x].address])); PaletteView.spritePalettes[x].SetValue(Nes.ppu.PALRAM[PaletteView.spritePalettes[x].address]); } PaletteView.Refresh(); diff --git a/BizHawk.MultiClient/NEStools/PaletteViewer.cs b/BizHawk.MultiClient/NEStools/PaletteViewer.cs index 20b53ca7d6..10a2458c41 100644 --- a/BizHawk.MultiClient/NEStools/PaletteViewer.cs +++ b/BizHawk.MultiClient/NEStools/PaletteViewer.cs @@ -29,8 +29,11 @@ namespace BizHawk.MultiClient public void SetValue(int val) { - value = val; - color = Color.FromArgb(val); + unchecked + { + value = val | (int)0xFF000000; + } + color = Color.FromArgb(value); } public Color GetColor()