Commit 1f9519c92decd438d04639bdceb34bde2a1de678
1 parent
b4511723
Fix typo in pixel conversion templates.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2194 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
hw/pl110_template.h
... | ... | @@ -79,7 +79,7 @@ static drawfn glue(pl110_draw_fn_,BITS)[18] = |
79 | 79 | #endif |
80 | 80 | |
81 | 81 | #define FN_2(x, y) FN(x, y) FN(x+1, y) |
82 | -#define FN_4(x, y) FN_2(x, y) FN_2(x+1, y) | |
82 | +#define FN_4(x, y) FN_2(x, y) FN_2(x+2, y) | |
83 | 83 | #define FN_8(y) FN_4(0, y) FN_4(4, y) |
84 | 84 | |
85 | 85 | static void glue(pl110_draw_line1_,NAME)(uint32_t *pallette, uint8_t *d, const uint8_t *src, int width) | ... | ... |