From a517c49f911f9bc37cf67fb66136b5a6b3226f42 Mon Sep 17 00:00:00 2001 From: pbrook Date: Wed, 18 Oct 2006 21:16:44 +0000 Subject: [PATCH] Fix typo in pixel conversion templates. --- hw/pl110_template.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/pl110_template.h b/hw/pl110_template.h index db05035b0..ed533aca1 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) -- 2.39.5