diff options
| author | Justin Heiner <jheiner@rockbox.org> | 2002-09-06 06:02:02 +0000 |
|---|---|---|
| committer | Justin Heiner <jheiner@rockbox.org> | 2002-09-06 06:02:02 +0000 |
| commit | 4bd90cc2ca23561dcafa1204b664007cab3cefb1 (patch) | |
| tree | f6967d86b06e7c08594b21b9755083eec8bd70f7 /apps/tree.c | |
| parent | 221c4a250d99836ff288edfa535cddc5473f2a75 (diff) | |
| download | rockbox-4bd90cc2ca23561dcafa1204b664007cab3cefb1.zip rockbox-4bd90cc2ca23561dcafa1204b664007cab3cefb1.tar.gz rockbox-4bd90cc2ca23561dcafa1204b664007cab3cefb1.tar.bz2 rockbox-4bd90cc2ca23561dcafa1204b664007cab3cefb1.tar.xz | |
Custom EQ files can now be loaded (*.eq). Docs coming soon :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2197 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
| -rw-r--r-- | apps/tree.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/tree.c b/apps/tree.c index 0be77c3..9e16da6 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -132,9 +132,7 @@ extern unsigned char bitmap_icons_6x8[LastIcon][6]; #define TREE_ATTR_M3U 0x80 /* playlist */ #define TREE_ATTR_WPS 0x100 /* wps config file */ #define TREE_ATTR_MOD 0x200 /* firmware file */ -#ifdef CUSTOM_EQ #define TREE_ATTR_EQ 0x300 /* EQ config file */ -#endif #define TREE_ATTR_MASK 0xffd0 /* which bits tree.c uses (above + DIR) */ static int build_playlist(int start_index) @@ -248,10 +246,8 @@ static int showdir(char *path, int start) dptr->attr |= TREE_ATTR_MPA; else if (!strcasecmp(&entry->d_name[len-4], ".m3u")) dptr->attr |= TREE_ATTR_M3U; -#ifdef CUSTOM_EQ else if (!strcasecmp(&entry->d_name[len-3], ".eq")) dptr->attr |= TREE_ATTR_EQ; -#endif else if (!strcasecmp(&entry->d_name[len-4], ".wps")) dptr->attr |= TREE_ATTR_WPS; #ifdef HAVE_RECORDER_KEYPAD @@ -333,11 +329,9 @@ static int showdir(char *path, int start) icon_type = Wps; break; -#ifdef CUSTOM_EQ case TREE_ATTR_EQ: icon_type = Wps; break; -#endif case TREE_ATTR_MOD: icon_type = Mod_Ajz; @@ -627,14 +621,12 @@ bool dirbrowse(char *root) restore = true; break; -#ifdef CUSTOM_EQ case TREE_ATTR_EQ: snprintf(buf, sizeof buf, "%s/%s", currdir, file->name); settings_load_eq(buf); restore = true; break; -#endif #ifndef SIMULATOR /* firmware file */ |