mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Fix simulator build error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3186 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
efb165f65c
commit
dc8f0ee245
1 changed files with 0 additions and 3 deletions
|
|
@ -1426,8 +1426,6 @@ static bool add_dir(char* dirname, int fd)
|
||||||
bool abort = false;
|
bool abort = false;
|
||||||
char buf[MAX_PATH/2]; /* saving a little stack... */
|
char buf[MAX_PATH/2]; /* saving a little stack... */
|
||||||
|
|
||||||
DEBUGF("add_dir(%s)\n",dirname);
|
|
||||||
|
|
||||||
/* check for user abort */
|
/* check for user abort */
|
||||||
#ifdef HAVE_PLAYER_KEYPAD
|
#ifdef HAVE_PLAYER_KEYPAD
|
||||||
if (button_get(false) == BUTTON_STOP)
|
if (button_get(false) == BUTTON_STOP)
|
||||||
|
|
@ -1462,7 +1460,6 @@ static bool add_dir(char* dirname, int fd)
|
||||||
(!strcasecmp(&entry->d_name[x-4], ".mp2")) ||
|
(!strcasecmp(&entry->d_name[x-4], ".mp2")) ||
|
||||||
(!strcasecmp(&entry->d_name[x-4], ".mpa")))
|
(!strcasecmp(&entry->d_name[x-4], ".mpa")))
|
||||||
{
|
{
|
||||||
DEBUGF("adding %s\n",entry->d_name);
|
|
||||||
write(fd, dirname, strlen(dirname));
|
write(fd, dirname, strlen(dirname));
|
||||||
write(fd, "/", 1);
|
write(fd, "/", 1);
|
||||||
write(fd, entry->d_name, x);
|
write(fd, entry->d_name, x);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue