aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-06 16:06:33 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-06 16:06:33 +0000
commit1cc98a5f045fefd4d0243a8f868c8a331839def0 (patch)
treee224e9624e54f54279f36e53ad9cc5d127e9a5fd /hw
parentde9258a87f8cf142b8d565a3c14d3db7a5a1c14b (diff)
hardware cursor depth = 15 fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@906 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/vga_template.h2
1 files changed, 1 insertions, 1 deletions
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