forked from len0rd/rockbox
Ignore volume ID
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1096 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
866600216e
commit
702dd052ae
1 changed files with 10 additions and 0 deletions
|
|
@ -1010,6 +1010,10 @@ int fat_getnext(struct fat_dir *dir, struct fat_direntry *entry)
|
|||
else {
|
||||
if ( parse_direntry(entry, &dir->cached_buf[i*32]) ) {
|
||||
|
||||
/* don't return volume id entry */
|
||||
if ( entry->attr == FAT_ATTR_VOLUME_ID )
|
||||
continue;
|
||||
|
||||
/* replace shortname with longname? */
|
||||
if ( longs ) {
|
||||
int j,k,l=0;
|
||||
|
|
@ -1115,3 +1119,9 @@ int fat_getnext(struct fat_dir *dir, struct fat_direntry *entry)
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------------------
|
||||
* local variables:
|
||||
* eval: (load-file "../rockbox-mode.el")
|
||||
* end:
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue