[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 4/8] ati-vga: Fix cursor color with guest_hwcursor=tr
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PULL 4/8] ati-vga: Fix cursor color with guest_hwcursor=true |
Date: |
Thu, 22 Aug 2019 10:04:58 +0200 |
From: BALATON Zoltan <address@hidden>
Fixes: a38127414bd007c5b6ae64c664d9e8839393277e
Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/display/ati.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/display/ati.c b/hw/display/ati.c
index eb54f6842fed..d372e346ffd9 100644
--- a/hw/display/ati.c
+++ b/hw/display/ati.c
@@ -207,7 +207,7 @@ static void ati_cursor_draw_line(VGACommonState *vga,
uint8_t *d, int scr_y)
}
} else {
color = (xbits & BIT(7) ? s->regs.cur_color1 :
- s->regs.cur_color0) << 8 | 0xff;
+ s->regs.cur_color0) | 0xff000000;
}
if (vga->hw_cursor_x + i * 8 + j >= h) {
return; /* end of screen, don't span to next line */
--
2.18.1
- [Qemu-devel] [PULL 0/8] Vga 20190822 patches, Gerd Hoffmann, 2019/08/22
- [Qemu-devel] [PULL 1/8] ati-vga: Add registers for getting apertures, Gerd Hoffmann, 2019/08/22
- [Qemu-devel] [PULL 5/8] ati-vga: Fix hardware cursor image offset, Gerd Hoffmann, 2019/08/22
- [Qemu-devel] [PULL 3/8] ati-vga: Fix GPIO_MONID register write, Gerd Hoffmann, 2019/08/22
- [Qemu-devel] [PULL 4/8] ati-vga: Fix cursor color with guest_hwcursor=true,
Gerd Hoffmann <=
- [Qemu-devel] [PULL 2/8] ati-vga: Add some register definitions for debugging, Gerd Hoffmann, 2019/08/22
- [Qemu-devel] [PULL 7/8] ati-vga: Add limited support for big endian frame buffer aperture, Gerd Hoffmann, 2019/08/22
- [Qemu-devel] [PULL 8/8] ati-vga: Implement dummy VBlank IRQ, Gerd Hoffmann, 2019/08/22
- [Qemu-devel] [PULL 6/8] ati-vga: Attempt to handle CRTC offset not exact multiple of stride, Gerd Hoffmann, 2019/08/22
- Re: [Qemu-devel] [PULL 0/8] Vga 20190822 patches, Peter Maydell, 2019/08/22