1
0
Fork 0

fix tandy put pixel with high attribute bit set (Kings Quest tandy booter)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2351
This commit is contained in:
Sebastian Strohhäcker 2005-10-21 16:49:48 +00:00
parent 7f07885811
commit aec4e8489f

View file

@ -65,7 +65,7 @@ void INT10_PutPixel(Bit16u x,Bit16u y,Bit8u page,Bit8u color) {
Bitu ind = 1-(x & 0x1);
if (color & 0x80) {
p[ind]^=color;
p[ind]^=(color & 0x7f);
} else {
p[ind]=color;
}