]> git.proxmox.com Git - qemu.git/commitdiff
hardware cursor depth = 15 fix
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 6 Jun 2004 16:06:33 +0000 (16:06 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 6 Jun 2004 16:06:33 +0000 (16:06 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@906 c046a42c-6fe2-441c-8c8c-71466251a162

hw/vga_template.h

index 721abcb82816abb72f5340f65135ffcc269c046d..349d588586a3a2e8637218e35d5b4e35a0d1a9e7 100644 (file)
@@ -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