diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-08-09 16:15:38 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-08-09 17:00:27 -0400 |
commit | 491b69666960356d965e6d5dbcba89faba0f9080 (patch) | |
tree | c2a51d2a814d674771b789c791329769af29f61a /firmware/export/rbpaths.h | |
parent | 92d66f761f030bd6ec022e2f969d044e3bfd8c00 (diff) | |
download | rockbox-491b69666960356d965e6d5dbcba89faba0f9080.tar.gz rockbox-491b69666960356d965e6d5dbcba89faba0f9080.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.h | 4 |
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 @@ | |||
51 | #elif defined(DX50) || defined(DX90) | 51 | #elif defined(DX50) || defined(DX90) |
52 | /* Where to put save files like recordings, playlists, screen dumps ...*/ | 52 | /* Where to put save files like recordings, playlists, screen dumps ...*/ |
53 | #define HOME_DIR "/mnt/sdcard" | 53 | #define HOME_DIR "/mnt/sdcard" |
54 | #elif defined(AGPTEK_ROCKER) || defined(XDUOO_X3II) || defined(XDUOO_X20) | ||
55 | #define HOME_DIR "/mnt/sd_0" | ||
54 | #else | 56 | #else |
55 | #define HOME_DIR "/" | 57 | #define HOME_DIR "/" |
56 | #endif | 58 | #endif |
@@ -88,7 +90,7 @@ | |||
88 | #define VIEWERS_DIR PLUGIN_DIR "/viewers" | 90 | #define VIEWERS_DIR PLUGIN_DIR "/viewers" |
89 | 91 | ||
90 | #if defined(APPLICATION) && !(defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1) || \ | 92 | #if defined(APPLICATION) && !(defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1) || \ |
91 | defined(DX50) || defined(DX90) || defined(SONY_NWZ_LINUX)) | 93 | defined(DX50) || defined(DX90) || defined(SONY_NWZ_LINUX) || defined(AGPTEK_ROCKER) || defined(XDUOO_X3II) || defined(XDUOO_X20)) |
92 | #define PLUGIN_DATA_DIR ROCKBOX_DIR "/rocks.data" | 94 | #define PLUGIN_DATA_DIR ROCKBOX_DIR "/rocks.data" |
93 | #define PLUGIN_GAMES_DATA_DIR PLUGIN_DATA_DIR | 95 | #define PLUGIN_GAMES_DATA_DIR PLUGIN_DATA_DIR |
94 | #define PLUGIN_APPS_DATA_DIR PLUGIN_DATA_DIR | 96 | #define PLUGIN_APPS_DATA_DIR PLUGIN_DATA_DIR |