From 6560782b73712e173105eb361371a7e81b81816a Mon Sep 17 00:00:00 2001 From: SarahW Date: Fri, 26 Apr 2019 17:55:33 +0100 Subject: [PATCH] Fix missing text cursor on PC1512. --- src/vid_pc1512.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vid_pc1512.c b/src/vid_pc1512.c index a5e4983..afe3c5d 100644 --- a/src/vid_pc1512.c +++ b/src/vid_pc1512.c @@ -222,7 +222,7 @@ static void pc1512_poll(void *p) if (drawcursor) { for (c = 0; c < 8; c++) - ((uint32_t *)buffer32->line[pc1512->displine])[(x << 3) + c + 8] = cols[(fontdat[chr + pc1512->fontbase][pc1512->sc & 7] & (1 << (c ^ 7))) ? 1 : 0] ^ 15; + ((uint32_t *)buffer32->line[pc1512->displine])[(x << 3) + c + 8] = cols[(fontdat[chr + pc1512->fontbase][pc1512->sc & 7] & (1 << (c ^ 7))) ? 1 : 0] ^ 0xffffff; } else {