parent
ac6cf7a18d
commit
2810a048f0
|
@ -130,9 +130,10 @@ namespace BizHawk.MultiClient.GBtools
|
||||||
|
|
||||||
// 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
|
// and they don't work right unless the alpha bits are set to 0
|
||||||
|
// and the rgb order is switched
|
||||||
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() & 0xffffff;
|
customs[j] = colors[j].R | colors[j].G << 8 | colors[j].B << 16;
|
||||||
|
|
||||||
dlg.CustomColors = customs;
|
dlg.CustomColors = customs;
|
||||||
dlg.FullOpen = true;
|
dlg.FullOpen = true;
|
||||||
|
@ -300,6 +301,7 @@ namespace BizHawk.MultiClient.GBtools
|
||||||
currentfile = filename;
|
currentfile = filename;
|
||||||
filemodified = false;
|
filemodified = false;
|
||||||
label4.Text = "Current palette file:";
|
label4.Text = "Current palette file:";
|
||||||
|
textBox1.Text = Path.GetFileName(filename);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
[General]
|
||||||
|
Background0=10140421
|
||||||
|
Background1=9087749
|
||||||
|
Background2=1922333
|
||||||
|
Background3=337157
|
||||||
|
Sprite%2010=10140421
|
||||||
|
Sprite%2011=9087749
|
||||||
|
Sprite%2012=1922333
|
||||||
|
Sprite%2013=337157
|
||||||
|
Sprite%2020=10140421
|
||||||
|
Sprite%2021=9087749
|
||||||
|
Sprite%2022=1922333
|
||||||
|
Sprite%2023=337157
|
Loading…
Reference in New Issue