diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/rbpaths.h | 4 | ||||
-rw-r--r-- | firmware/target/hosted/filesystem-app.c | 2 |
2 files changed, 4 insertions, 2 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 |
diff --git a/firmware/target/hosted/filesystem-app.c b/firmware/target/hosted/filesystem-app.c index e54f0b91f7..3cb0dd3653 100644 --- a/firmware/target/hosted/filesystem-app.c +++ b/firmware/target/hosted/filesystem-app.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include "logf.h" | 37 | #include "logf.h" |
38 | 38 | ||
39 | #if (defined(AGPTEK_ROCKER) || defined(XDUOO_X3II) || defined(XDUOO_X20)) && !(defined(BOOTLOADER) || defined(CHECKWPS) || defined(SIMULATOR)) | 39 | #if (defined(AGPTEK_ROCKER) || defined(XDUOO_X3II) || defined(XDUOO_X20)) && !(defined(BOOTLOADER) || defined(CHECKWPS) || defined(SIMULATOR)) |
40 | #define PIVOT_ROOT "/mnt/sd_0" | 40 | #define PIVOT_ROOT HOME_DIR |
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) | 43 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) |