From 501fe385618f9b8791bdbc60e05bae0e418b5c7e Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Thu, 28 Mar 2013 02:19:20 -0400 Subject: Stop the path scroller flashing when moving between files in a file selector. --- source/nds/gui.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/nds/gui.c b/source/nds/gui.c index da28820..83b0eec 100644 --- a/source/nds/gui.c +++ b/source/nds/gui.c @@ -1198,7 +1198,11 @@ s32 load_file(char **wildcards, char *result, char *default_dir_name) //Path auto scroll unsigned int m = path_scroll & 0xFF; if(m < 20) //pause 0.5sec + { + draw_hscroll(0, 0); + // ^ but prevent flashing with non-scrolling paths path_scroll += 1; + } else { show_icon(down_screen_addr, &ICON_TITLE, 0, 0); show_icon(down_screen_addr, &ICON_TITLEICON, TITLE_ICON_X, TITLE_ICON_Y); -- cgit v1.2.3