summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-09-30 14:53:09 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-09-30 18:56:54 +0000
commitff408fd7177e8205c89cc17050d039b47d294ac7 (patch)
tree2bbc40059fbce157b4a21fcde924097ebf98827d /firmware
parent1c0648c603998e52203826c6406f183681184838 (diff)
downloadrockbox-ff408fd7177e8205c89cc17050d039b47d294ac7.tar.gz
rockbox-ff408fd7177e8205c89cc17050d039b47d294ac7.tar.bz2
rockbox-ff408fd7177e8205c89cc17050d039b47d294ac7.zip
Leave HOME_DIR out of default recording and playlist paths
The hosted filesystem code will automatically prepend HOME_DIR. Change-Id: I36a76e51637ab2bb68353f8eb9ffac25ca75bad1
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/rbpaths.h4
-rw-r--r--firmware/target/hosted/filesystem-app.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/firmware/export/rbpaths.h b/firmware/export/rbpaths.h
index de591f0ec1..87a6dd91ff 100644
--- a/firmware/export/rbpaths.h
+++ b/firmware/export/rbpaths.h
@@ -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"
diff --git a/firmware/target/hosted/filesystem-app.c b/firmware/target/hosted/filesystem-app.c
index 3cb0dd3653..57f9b47282 100644
--- a/firmware/target/hosted/filesystem-app.c
+++ b/firmware/target/hosted/filesystem-app.c
@@ -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