From 1cc98a5f045fefd4d0243a8f868c8a331839def0 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 6 Jun 2004 16:06:33 +0000 Subject: [PATCH] hardware cursor depth = 15 fix git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@906 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/vga_template.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/vga_template.h b/hw/vga_template.h index 721abcb828..349d588586 100644 --- a/hw/vga_template.h +++ b/hw/vga_template.h @@ -497,7 +497,7 @@ void glue(vga_draw_cursor_line_, DEPTH)(uint8_t *d1, #else #error unsupported depth #endif - d += (DEPTH / 8); + d += BPP; } } #endif -- 2.11.0