forked from len0rd/rockbox
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:
parent
1c0648c603
commit
ff408fd717
2 changed files with 5 additions and 5 deletions
|
@ -79,8 +79,8 @@
|
||||||
|
|
||||||
#define HOME_DIR_LEN (sizeof(HOME_DIR)-1)
|
#define HOME_DIR_LEN (sizeof(HOME_DIR)-1)
|
||||||
|
|
||||||
#define REC_BASE_DIR HOME_DIR
|
#define REC_BASE_DIR "/Recordings"
|
||||||
#define PLAYLIST_CATALOG_DEFAULT_DIR HOME_DIR "/Playlists"
|
#define PLAYLIST_CATALOG_DEFAULT_DIR "/Playlists"
|
||||||
|
|
||||||
#define LANG_DIR ROCKBOX_DIR "/langs"
|
#define LANG_DIR ROCKBOX_DIR "/langs"
|
||||||
|
|
||||||
|
|
|
@ -46,13 +46,13 @@ static const char rbhome[] = "/sdcard";
|
||||||
&& !defined(__PCTOOL__)
|
&& !defined(__PCTOOL__)
|
||||||
static const char *rbhome;
|
static const char *rbhome;
|
||||||
#else
|
#else
|
||||||
/* YPR0, YPR1, NWZ */
|
/* YPR0, YPR1, NWZ, etc */
|
||||||
static const char rbhome[] = HOME_DIR;
|
static const char rbhome[] = HOME_DIR;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !(defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1) || defined(DX50) || \
|
#if !(defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1) || defined(DX50) || \
|
||||||
defined(SONY_NWZ_LINUX) || defined(DX90) || defined(AGPTEK_ROCKER) || \
|
defined(SONY_NWZ_LINUX) || defined(DX90) || defined(AGPTEK_ROCKER) || \
|
||||||
defined(XDUOO_X3II) || defined(XDUOO_X20)) && \
|
defined(XDUOO_X3II) || defined(XDUOO_X20)) && \
|
||||||
!defined(__PCTOOL__)
|
!defined(__PCTOOL__)
|
||||||
/* Special dirs are user-accessible (and user-writable) dirs which take priority
|
/* Special dirs are user-accessible (and user-writable) dirs which take priority
|
||||||
* over the ones where Rockbox is installed to. Classic example would be
|
* over the ones where Rockbox is installed to. Classic example would be
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue