Fixed scroll screen garbage bug

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@970 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-06-12 08:06:13 +00:00
parent 0e6850f3ce
commit 3d762e9728

View file

@ -128,6 +128,7 @@ static int showdir(char *path, int start)
qsort(dircacheptr,filesindir,sizeof(struct entry*),compare); qsort(dircacheptr,filesindir,sizeof(struct entry*),compare);
} }
lcd_stop_scroll();
#ifdef HAVE_NEW_CHARCELL_LCD #ifdef HAVE_NEW_CHARCELL_LCD
lcd_double_height(false); lcd_double_height(false);
#endif #endif
@ -266,7 +267,6 @@ bool dirbrowse(char *root)
} }
else else
start = dircursor = 0; start = dircursor = 0;
lcd_stop_scroll();
numentries = showdir(currdir, start); numentries = showdir(currdir, start);
lcd_puts(0, LINE_Y+dircursor, CURSOR_CHAR); lcd_puts(0, LINE_Y+dircursor, CURSOR_CHAR);
} }