From d2a47628479e41f9fbd807f73330a182a68a9693 Mon Sep 17 00:00:00 2001 From: Hardeep Sidhu Date: Sun, 4 Jun 2006 17:14:17 +0000 Subject: Added a yield() after each pgup/pgdn similar to what is done for prev/next. Fixes B#5354. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10054 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/list.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps') diff --git a/apps/gui/list.c b/apps/gui/list.c index d0117d7c03..ebc8115be0 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c @@ -667,6 +667,7 @@ unsigned gui_synclist_do_button(struct gui_synclist * lists, unsigned button) case LIST_PGUP | BUTTON_REPEAT: gui_synclist_select_previous_page(lists, SCREEN_MAIN); gui_synclist_draw(lists); + yield(); return LIST_NEXT; #endif @@ -676,6 +677,7 @@ unsigned gui_synclist_do_button(struct gui_synclist * lists, unsigned button) case LIST_RC_PGUP | BUTTON_REPEAT: gui_synclist_select_previous_page(lists, SCREEN_REMOTE); gui_synclist_draw(lists); + yield(); return LIST_NEXT; #endif @@ -685,6 +687,7 @@ unsigned gui_synclist_do_button(struct gui_synclist * lists, unsigned button) case LIST_PGDN | BUTTON_REPEAT: gui_synclist_select_next_page(lists, SCREEN_MAIN); gui_synclist_draw(lists); + yield(); return LIST_PREV; #endif @@ -694,6 +697,7 @@ unsigned gui_synclist_do_button(struct gui_synclist * lists, unsigned button) case LIST_RC_PGDN | BUTTON_REPEAT: gui_synclist_select_next_page(lists, SCREEN_REMOTE); gui_synclist_draw(lists); + yield(); return LIST_PREV; #endif } -- cgit v1.2.3