vid_mga: Make Matrox Millennium multi-monitor compatible

This commit is contained in:
Cacodemon345
2023-03-07 22:03:04 +06:00
parent a4ff1f72c8
commit 03a578708c
3 changed files with 4 additions and 4 deletions

View File

@@ -5126,9 +5126,9 @@ mystique_hwcursor_draw(svga_t *svga, int displine)
case XCURCTRL_CURMODE_XGA:
for (x = 0; x < 64; x++) {
if (!(dat[1] & (1ull << 63)))
buffer32->line[displine][offset + svga->x_add] = (dat[0] & (1ull << 63)) ? mystique->cursor.col[1] : mystique->cursor.col[0];
svga->monitor->target_buffer->line[displine][offset + svga->x_add] = (dat[0] & (1ull << 63)) ? mystique->cursor.col[1] : mystique->cursor.col[0];
else if (dat[0] & (1ull << 63))
buffer32->line[displine][offset + svga->x_add] ^= 0xffffff;
svga->monitor->target_buffer->line[displine][offset + svga->x_add] ^= 0xffffff;
offset++;
dat[0] <<= 1;