And yet a third one.

This commit is contained in:
OBattler
2020-10-18 00:21:20 +02:00
parent dc24e1394c
commit 8f84aae072

View File

@@ -693,7 +693,7 @@ void tgui_hwcursor_draw(svga_t *svga, int displine)
bit = (7 - xx);
dat[0] = (svga->vram[byte] >> bit) & 0x01; /* AND */
dat[1] = (svga->vram[(pitch >> 1) + byte] >> bit) & 0x01; /* XOR */
val = (dat[0] << 1) || dat[1];
val = (dat[0] << 1) | dat[1];
color = ((uint32_t *)buffer32->line[displine])[svga->x_add + offset + xx];
if (!!(svga->crtc[0x50] & 0x40)) {
/* X11 style? */