diff options
Diffstat (limited to 'firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c')
-rw-r--r-- | firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c index 6ce3e3767f..36084af68e 100644 --- a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c +++ b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c | |||
@@ -531,8 +531,7 @@ void lcd_update_rect(int x, int y, int w, int h) | |||
531 | */ | 531 | */ |
532 | if(w == LCD_WIDTH) | 532 | if(w == LCD_WIDTH) |
533 | { | 533 | { |
534 | imx233_dcp_memcpy_ex(lcd_dcp_channel, false, &lcd_framebuffer[y][x], | 534 | memcpy((void *)FRAME, &lcd_framebuffer[y][x], w * h * sizeof(fb_data)); |
535 | (void *)FRAME, h * w * sizeof(fb_data)); | ||
536 | } | 535 | } |
537 | else | 536 | else |
538 | { | 537 | { |