aboutsummaryrefslogtreecommitdiffstats
path: root/hw/vga_template.h
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/vga_template.h
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/vga_template.h')
-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 721abcb82..349d58858 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