1
0
Fork 0
forked from len0rd/rockbox

[4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice.

Note:  I left behind lcd_bitmap in features.txt, because removing it
would require considerable work in the manual and the translations.

Change-Id: Ia8ca7761f610d9332a0d22a7d189775fb15ec88a
This commit is contained in:
Solomon Peachy 2020-07-17 10:31:31 -04:00
parent 8cb555460f
commit 658026e626
240 changed files with 288 additions and 1759 deletions

View file

@ -100,9 +100,7 @@ void tv_scroll_up(unsigned mode)
(mode == TV_VERTICAL_SCROLL_PREFS && preferences->vertical_scroll_mode == VS_PAGE))
{
offset_page--;
#ifdef HAVE_LCD_BITMAP
offset_line = (preferences->overlap_page_mode)? 1:0;
#endif
}
tv_move_screen(offset_page, offset_line, SEEK_CUR);
scrolled = true;
@ -117,9 +115,7 @@ void tv_scroll_down(unsigned mode)
(mode == TV_VERTICAL_SCROLL_PREFS && preferences->vertical_scroll_mode == VS_PAGE))
{
offset_page++;
#ifdef HAVE_LCD_BITMAP
offset_line = (preferences->overlap_page_mode)? -1:0;
#endif
}
tv_move_screen(offset_page, offset_line, SEEK_CUR);
scrolled = true;