the world would end if microsoft ran it

This commit is contained in:
goyuken 2012-09-13 23:09:03 +00:00
parent 3959b5f4fc
commit f5d37cf73b
1 changed files with 2 additions and 1 deletions

View File

@ -108,9 +108,10 @@ namespace BizHawk.Emulation.Consoles.Nintendo.Gameboy
dlg.Color = colors[i];
// 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];
for (int j = 0; j < customs.Length; j++)
customs[j] = colors[j].ToArgb();
customs[j] = colors[j].ToArgb() & 0xffffff;
dlg.CustomColors = customs;
dlg.FullOpen = true;