diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2012-01-25 16:10:44 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-02-04 12:45:10 +0000 |
commit | 94d7b48334d86b401439d732407d5989557d2218 (patch) | |
tree | 6e01690ac00fa2417ac7acac5b9eb000a65e262a /hw/cirrus_vga.c | |
parent | cd7a45c95ecf2404810f3c6becb7cb83c5010ad8 (diff) |
vga: move Cirrus VGA template to its own file
Standard VGA does not use vga_draw_cursor_line_* functions.
Move the template to cirrus_vga_template.h.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/cirrus_vga.c')
-rw-r--r-- | hw/cirrus_vga.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index 116e2b10c5..a8e8ab7660 100644 --- a/hw/cirrus_vga.c +++ b/hw/cirrus_vga.c @@ -2164,6 +2164,15 @@ static void cirrus_cursor_invalidate(VGACommonState *s1) } } +#define DEPTH 8 +#include "cirrus_vga_template.h" + +#define DEPTH 16 +#include "cirrus_vga_template.h" + +#define DEPTH 32 +#include "cirrus_vga_template.h" + static void cirrus_cursor_draw_line(VGACommonState *s1, uint8_t *d1, int scr_y) { CirrusVGAState *s = container_of(s1, CirrusVGAState, vga); |