Only use 6 bit dac values
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1664
This commit is contained in:
parent
e6be5f493c
commit
7ca20ac50f
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ static void write_p3c8(Bit32u port,Bit8u val) {
|
|||
}
|
||||
|
||||
static void write_p3c9(Bit32u port,Bit8u val) {
|
||||
val&=0x3f;
|
||||
switch (vga.dac.pel_index) {
|
||||
case 0:
|
||||
vga.dac.rgb[vga.dac.write_index].red=val;
|
||||
|
|
Loading…
Add table
Reference in a new issue