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:
parent
7f07885811
commit
aec4e8489f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue