diff options
author | Nebuleon Fumika | 2013-03-28 02:19:20 -0400 |
---|---|---|
committer | Nebuleon Fumika | 2013-03-28 02:19:20 -0400 |
commit | 501fe385618f9b8791bdbc60e05bae0e418b5c7e (patch) | |
tree | d6df5d26e340548c4728380acaefe032816afeda /source | |
parent | dbb2dd89f068d381e399cb8a42cb02ef18d08d27 (diff) | |
download | snes9x2005-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.c | 4 |
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); |