diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-04 14:42:54 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-11-10 06:37:41 -0500 |
commit | 37da608f8408304723499d01a056bb517d907219 (patch) | |
tree | b8da2d83191d069d281bf2dd230b86e733c17812 /apps/gui | |
parent | c2220a3b50325702e53d7d4bbdb485068e1148f9 (diff) | |
download | rockbox-37da608f8408304723499d01a056bb517d907219.tar.gz rockbox-37da608f8408304723499d01a056bb517d907219.zip |
skin engine: Remove weird special casing for Onda VX747
I have no idea what bug this could possibly "fix", and nothing
looks different on the sim after removing it. As far as I can tell
the Onda has no unique features that could cause the skin engine
to act flaky, so I'm willing to bet this workaround isn't needed.
Change-Id: I2c183786948f3fe9778e04134d04bdfe3c6db543
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/skin_engine/skin_render.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/gui/skin_engine/skin_render.c b/apps/gui/skin_engine/skin_render.c index 20e062e136..c5ee4ec3fb 100644 --- a/apps/gui/skin_engine/skin_render.c +++ b/apps/gui/skin_engine/skin_render.c | |||
@@ -593,10 +593,6 @@ static bool skin_render_line(struct skin_element* line, struct skin_draw_info *i | |||
593 | sizeof(tempbuf), NULL); | 593 | sizeof(tempbuf), NULL); |
594 | if (valuestr) | 594 | if (valuestr) |
595 | { | 595 | { |
596 | #if defined(ONDA_VX747) || defined(ONDA_VX747P) | ||
597 | /* Doesn't redraw (in sim at least) */ | ||
598 | needs_update = true; | ||
599 | #endif | ||
600 | #if CONFIG_RTC | 596 | #if CONFIG_RTC |
601 | if (child->tag->flags&SKIN_RTC_REFRESH) | 597 | if (child->tag->flags&SKIN_RTC_REFRESH) |
602 | needs_update = needs_update || info->refresh_type&SKIN_REFRESH_DYNAMIC; | 598 | needs_update = needs_update || info->refresh_type&SKIN_REFRESH_DYNAMIC; |
@@ -609,10 +605,6 @@ static bool skin_render_line(struct skin_element* line, struct skin_draw_info *i | |||
609 | } | 605 | } |
610 | break; | 606 | break; |
611 | case TEXT: | 607 | case TEXT: |
612 | #if defined(ONDA_VX747) || defined(ONDA_VX747P) | ||
613 | /* Doesn't redraw (in sim at least) */ | ||
614 | needs_update = true; | ||
615 | #endif | ||
616 | strlcat(info->cur_align_start, SKINOFFSETTOPTR(skin_buffer, child->data), | 608 | strlcat(info->cur_align_start, SKINOFFSETTOPTR(skin_buffer, child->data), |
617 | info->buf_size - (info->cur_align_start-info->buf)); | 609 | info->buf_size - (info->cur_align_start-info->buf)); |
618 | needs_update = needs_update || | 610 | needs_update = needs_update || |