diff options
Diffstat (limited to 'apps/plugins/lib/grey_core.c')
-rw-r--r-- | apps/plugins/lib/grey_core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/lib/grey_core.c b/apps/plugins/lib/grey_core.c index 55d0684103..9686f1d021 100644 --- a/apps/plugins/lib/grey_core.c +++ b/apps/plugins/lib/grey_core.c @@ -845,7 +845,7 @@ static void grey_screendump_hook(int fd) gsrc = _grey_info.values + _GREY_MULUQ(_grey_info.width, gy); #if LCD_DEPTH == 2 - src = rb->lcd_framebuffer + _GREY_MULUQ(LCD_FBWIDTH, y); + src = *rb->lcd_framebuffer + _GREY_MULUQ(LCD_FBWIDTH, y); do { @@ -876,7 +876,7 @@ static void grey_screendump_hook(int fd) #if LCD_DEPTH == 1 mask = BIT_N(y & 7); - src = rb->lcd_framebuffer + _GREY_MULUQ(LCD_WIDTH, y >> 3); + src = *rb->lcd_framebuffer + _GREY_MULUQ(LCD_WIDTH, y >> 3); do { @@ -908,7 +908,7 @@ static void grey_screendump_hook(int fd) #elif LCD_DEPTH == 2 shift = 2 * (y & 3); - src = rb->lcd_framebuffer + _GREY_MULUQ(LCD_WIDTH, y >> 2); + src = *rb->lcd_framebuffer + _GREY_MULUQ(LCD_WIDTH, y >> 2); do { @@ -933,7 +933,7 @@ static void grey_screendump_hook(int fd) #if LCD_DEPTH == 2 shift = y & 7; - src = rb->lcd_framebuffer + _GREY_MULUQ(LCD_WIDTH, y >> 3); + src = *rb->lcd_framebuffer + _GREY_MULUQ(LCD_WIDTH, y >> 3); do { |