Leave HOME_DIR out of default recording and playlist paths

The hosted filesystem code will automatically prepend HOME_DIR.

Change-Id: I36a76e51637ab2bb68353f8eb9ffac25ca75bad1
This commit is contained in:
Solomon Peachy 2020-09-30 14:53:09 -04:00
parent 1c0648c603
commit ff408fd717
2 changed files with 5 additions and 5 deletions

View file

@ -79,8 +79,8 @@
#define HOME_DIR_LEN (sizeof(HOME_DIR)-1)
#define REC_BASE_DIR HOME_DIR
#define PLAYLIST_CATALOG_DEFAULT_DIR HOME_DIR "/Playlists"
#define REC_BASE_DIR "/Recordings"
#define PLAYLIST_CATALOG_DEFAULT_DIR "/Playlists"
#define LANG_DIR ROCKBOX_DIR "/langs"

View file

@ -46,13 +46,13 @@ static const char rbhome[] = "/sdcard";
&& !defined(__PCTOOL__)
static const char *rbhome;
#else
/* YPR0, YPR1, NWZ */
/* YPR0, YPR1, NWZ, etc */
static const char rbhome[] = HOME_DIR;
#endif
#if !(defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1) || defined(DX50) || \
defined(SONY_NWZ_LINUX) || defined(DX90) || defined(AGPTEK_ROCKER) || \
defined(XDUOO_X3II) || defined(XDUOO_X20)) && \
defined(SONY_NWZ_LINUX) || defined(DX90) || defined(AGPTEK_ROCKER) || \
defined(XDUOO_X3II) || defined(XDUOO_X20)) && \
!defined(__PCTOOL__)
/* Special dirs are user-accessible (and user-writable) dirs which take priority
* over the ones where Rockbox is installed to. Classic example would be