aboutsummaryrefslogtreecommitdiff
path: root/hw/pl110_template.h
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-10-18 21:16:44 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-10-18 21:16:44 +0000
commit1f9519c92decd438d04639bdceb34bde2a1de678 (patch)
treef6e36b751deaf15cfe4ee4f4f673cd112e672037 /hw/pl110_template.h
parentb4511723bdc0ead9b9b958ad20a4a8bf900d6243 (diff)
Fix typo in pixel conversion templates.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2194 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pl110_template.h')
-rw-r--r--hw/pl110_template.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pl110_template.h b/hw/pl110_template.h
index db05035b01..ed533aca19 100644
--- a/hw/pl110_template.h
+++ b/hw/pl110_template.h
@@ -79,7 +79,7 @@ static drawfn glue(pl110_draw_fn_,BITS)[18] =
#endif
#define FN_2(x, y) FN(x, y) FN(x+1, y)
-#define FN_4(x, y) FN_2(x, y) FN_2(x+1, y)
+#define FN_4(x, y) FN_2(x, y) FN_2(x+2, y)
#define FN_8(y) FN_4(0, y) FN_4(4, y)
static void glue(pl110_draw_line1_,NAME)(uint32_t *pallette, uint8_t *d, const uint8_t *src, int width)