the world would end if microsoft ran it
This commit is contained in:
parent
3959b5f4fc
commit
f5d37cf73b
|
@ -108,9 +108,10 @@ namespace BizHawk.Emulation.Consoles.Nintendo.Gameboy
|
||||||
dlg.Color = colors[i];
|
dlg.Color = colors[i];
|
||||||
|
|
||||||
// custom colors are ints, not Color structs?
|
// custom colors are ints, not Color structs?
|
||||||
|
// and they don't work right unless the alpha bits are set to 0
|
||||||
int[] customs = new int[12];
|
int[] customs = new int[12];
|
||||||
for (int j = 0; j < customs.Length; j++)
|
for (int j = 0; j < customs.Length; j++)
|
||||||
customs[j] = colors[j].ToArgb();
|
customs[j] = colors[j].ToArgb() & 0xffffff;
|
||||||
|
|
||||||
dlg.CustomColors = customs;
|
dlg.CustomColors = customs;
|
||||||
dlg.FullOpen = true;
|
dlg.FullOpen = true;
|
||||||
|
|
Loading…
Reference in New Issue