diff options
Diffstat (limited to 'hw/vga_template.h')
-rw-r--r-- | hw/vga_template.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/vga_template.h b/hw/vga_template.h index 0d1d5ce737..cc4df95e35 100644 --- a/hw/vga_template.h +++ b/hw/vga_template.h @@ -354,7 +354,7 @@ static void glue(vga_draw_line15_, DEPTH)(VGAState *s1, uint8_t *d, w = width; do { - v = lduw((void *)s); + v = lduw_raw((void *)s); r = (v >> 7) & 0xf8; g = (v >> 2) & 0xf8; b = (v << 3) & 0xf8; @@ -379,7 +379,7 @@ static void glue(vga_draw_line16_, DEPTH)(VGAState *s1, uint8_t *d, w = width; do { - v = lduw((void *)s); + v = lduw_raw((void *)s); r = (v >> 8) & 0xf8; g = (v >> 3) & 0xfc; b = (v << 3) & 0xf8; |