summaryrefslogtreecommitdiffstats
path: root/firmware/export/rbpaths.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-08-09 16:15:38 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-08-09 17:00:27 -0400
commit491b69666960356d965e6d5dbcba89faba0f9080 (patch)
treec2a51d2a814d674771b789c791329769af29f61a /firmware/export/rbpaths.h
parent92d66f761f030bd6ec022e2f969d044e3bfd8c00 (diff)
downloadrockbox-491b696669.tar.gz
rockbox-491b696669.tar.bz2
rockbox-491b696669.zip
Fix HOME_DIR path for Rocker, X3ii, and X20
Prevented plugins from accessing their config files properly Change-Id: Ic3b115aaa9168fa30b98607aeacb1a12b5498a5f
Diffstat (limited to 'firmware/export/rbpaths.h')
-rw-r--r--firmware/export/rbpaths.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/export/rbpaths.h b/firmware/export/rbpaths.h
index b95f1614eb..de591f0ec1 100644
--- a/firmware/export/rbpaths.h
+++ b/firmware/export/rbpaths.h
@@ -51,6 +51,8 @@
#elif defined(DX50) || defined(DX90)
/* Where to put save files like recordings, playlists, screen dumps ...*/
#define HOME_DIR "/mnt/sdcard"
+#elif defined(AGPTEK_ROCKER) || defined(XDUOO_X3II) || defined(XDUOO_X20)
+#define HOME_DIR "/mnt/sd_0"
#else
#define HOME_DIR "/"
#endif
@@ -88,7 +90,7 @@
#define VIEWERS_DIR PLUGIN_DIR "/viewers"
#if defined(APPLICATION) && !(defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1) || \
- defined(DX50) || defined(DX90) || defined(SONY_NWZ_LINUX))
+ defined(DX50) || defined(DX90) || defined(SONY_NWZ_LINUX) || defined(AGPTEK_ROCKER) || defined(XDUOO_X3II) || defined(XDUOO_X20))
#define PLUGIN_DATA_DIR ROCKBOX_DIR "/rocks.data"
#define PLUGIN_GAMES_DATA_DIR PLUGIN_DATA_DIR
#define PLUGIN_APPS_DATA_DIR PLUGIN_DATA_DIR