aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorNebuleon Fumika2013-03-28 02:19:20 -0400
committerNebuleon Fumika2013-03-28 02:19:20 -0400
commit501fe385618f9b8791bdbc60e05bae0e418b5c7e (patch)
treed6df5d26e340548c4728380acaefe032816afeda /source
parentdbb2dd89f068d381e399cb8a42cb02ef18d08d27 (diff)
downloadsnes9x2005-501fe385618f9b8791bdbc60e05bae0e418b5c7e.tar.gz
snes9x2005-501fe385618f9b8791bdbc60e05bae0e418b5c7e.tar.bz2
snes9x2005-501fe385618f9b8791bdbc60e05bae0e418b5c7e.zip
Stop the path scroller flashing when moving between files in a file selector.
Diffstat (limited to 'source')
-rw-r--r--source/nds/gui.c4
1 files changed, 4 insertions, 0 deletions
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);