diff options
author | William Wilgus <wilgus.william@gmail.com> | 2020-10-26 15:32:37 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2020-10-26 15:50:42 -0400 |
commit | 299c2370756baeac5ca458859ae7c64ca462f8c8 (patch) | |
tree | 34c60892fab8aa24af662a509bd0c2631e1b9505 /firmware/target | |
parent | 04e7bacc4c971f7ed90e15a475312b2b69774cb4 (diff) | |
download | rockbox-299c2370756baeac5ca458859ae7c64ca462f8c8.tar.gz rockbox-299c2370756baeac5ca458859ae7c64ca462f8c8.zip |
'Fix RED e200 Framebuffer_viewport_rewrite
Free malloc in checkwps too
Change-Id: I2b8fcbc94beb0644b643d3b7a9cb53bc26fc8a51
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c b/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c index 2c80f89ff7..f69ad48793 100644 --- a/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c +++ b/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c | |||
@@ -448,7 +448,7 @@ void lcd_update(void) | |||
448 | 448 | ||
449 | lcd_write_cmd(R_WRITE_DATA_2_GRAM); | 449 | lcd_write_cmd(R_WRITE_DATA_2_GRAM); |
450 | 450 | ||
451 | dbop_write_data((fb_data*)lcd_framebuffer, LCD_WIDTH*LCD_HEIGHT); | 451 | dbop_write_data((fb_data*)FBADDR(0,0), LCD_WIDTH*LCD_HEIGHT); |
452 | } | 452 | } |
453 | 453 | ||
454 | /* Update a fraction of the display. */ | 454 | /* Update a fraction of the display. */ |
@@ -460,7 +460,7 @@ void lcd_update_rect(int x, int y, int width, int height) | |||
460 | return; | 460 | return; |
461 | 461 | ||
462 | /* nothing to draw? */ | 462 | /* nothing to draw? */ |
463 | if ((width <= 0) || (height <= 0) || (x >= LCD_WIDTH) || | 463 | if ((width <= 0) || (height <= 0) || (x >= LCD_WIDTH) || |
464 | (y >= LCD_HEIGHT) || (x + width <= 0) || (y + height <= 0)) | 464 | (y >= LCD_HEIGHT) || (x + width <= 0) || (y + height <= 0)) |
465 | return; | 465 | return; |
466 | 466 | ||