aboutsummaryrefslogtreecommitdiff
path: root/hw/blizzard_template.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/blizzard_template.h')
-rw-r--r--hw/blizzard_template.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/blizzard_template.h b/hw/blizzard_template.h
index 42f4e90b04..a8a8899478 100644
--- a/hw/blizzard_template.h
+++ b/hw/blizzard_template.h
@@ -55,7 +55,7 @@ static void glue(blizzard_draw_line16_, DEPTH)(PIXEL_TYPE *dest,
unsigned int r, g, b;
const uint16_t *end = (const void *) src + width;
while (src < end) {
- data = lduw_raw(src ++);
+ data = *src ++;
b = (data & 0x1f) << 3;
data >>= 5;
g = (data & 0x3f) << 2;