1
0
Fork 0
forked from len0rd/rockbox

fuze+: don't use the DCP to copy the framebuffer since it can yield and then several lcd udpates could run concurrently with undefined behaviour

Change-Id: I39167188f354859fc8e4f9f979c97343b40beb7d
This commit is contained in:
Amaury Pouly 2012-02-02 11:20:00 +01:00
parent ac4d648958
commit 3511435ee3

View file

@ -531,8 +531,7 @@ void lcd_update_rect(int x, int y, int w, int h)
*/
if(w == LCD_WIDTH)
{
imx233_dcp_memcpy_ex(lcd_dcp_channel, false, &lcd_framebuffer[y][x],
(void *)FRAME, h * w * sizeof(fb_data));
memcpy((void *)FRAME, &lcd_framebuffer[y][x], w * h * sizeof(fb_data));
}
else
{