From 4bd90cc2ca23561dcafa1204b664007cab3cefb1 Mon Sep 17 00:00:00 2001 From: Justin Heiner Date: Fri, 6 Sep 2002 06:02:02 +0000 Subject: 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 --- apps/tree.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'apps/tree.c') diff --git a/apps/tree.c b/apps/tree.c index 0be77c3b9c..9e16da6ce2 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 */ -- cgit v1.2.3