From: bellard Date: Sun, 6 Jun 2004 16:06:33 +0000 (+0000) Subject: hardware cursor depth = 15 fix X-Git-Tag: release_0_6_0~100 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cc98a5f045fefd4d0243a8f868c8a331839def0;p=thirdparty%2Fqemu.git hardware cursor depth = 15 fix git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@906 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/hw/vga_template.h b/hw/vga_template.h index 721abcb8281..349d588586a 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