mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Fix HOME_DIR path for Rocker, X3ii, and X20
Prevented plugins from accessing their config files properly Change-Id: Ic3b115aaa9168fa30b98607aeacb1a12b5498a5f
This commit is contained in:
parent
92d66f761f
commit
491b696669
2 changed files with 4 additions and 2 deletions
|
@ -51,6 +51,8 @@
|
||||||
#elif defined(DX50) || defined(DX90)
|
#elif defined(DX50) || defined(DX90)
|
||||||
/* Where to put save files like recordings, playlists, screen dumps ...*/
|
/* Where to put save files like recordings, playlists, screen dumps ...*/
|
||||||
#define HOME_DIR "/mnt/sdcard"
|
#define HOME_DIR "/mnt/sdcard"
|
||||||
|
#elif defined(AGPTEK_ROCKER) || defined(XDUOO_X3II) || defined(XDUOO_X20)
|
||||||
|
#define HOME_DIR "/mnt/sd_0"
|
||||||
#else
|
#else
|
||||||
#define HOME_DIR "/"
|
#define HOME_DIR "/"
|
||||||
#endif
|
#endif
|
||||||
|
@ -88,7 +90,7 @@
|
||||||
#define VIEWERS_DIR PLUGIN_DIR "/viewers"
|
#define VIEWERS_DIR PLUGIN_DIR "/viewers"
|
||||||
|
|
||||||
#if defined(APPLICATION) && !(defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1) || \
|
#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_DATA_DIR ROCKBOX_DIR "/rocks.data"
|
||||||
#define PLUGIN_GAMES_DATA_DIR PLUGIN_DATA_DIR
|
#define PLUGIN_GAMES_DATA_DIR PLUGIN_DATA_DIR
|
||||||
#define PLUGIN_APPS_DATA_DIR PLUGIN_DATA_DIR
|
#define PLUGIN_APPS_DATA_DIR PLUGIN_DATA_DIR
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#include "logf.h"
|
#include "logf.h"
|
||||||
|
|
||||||
#if (defined(AGPTEK_ROCKER) || defined(XDUOO_X3II) || defined(XDUOO_X20)) && !(defined(BOOTLOADER) || defined(CHECKWPS) || defined(SIMULATOR))
|
#if (defined(AGPTEK_ROCKER) || defined(XDUOO_X3II) || defined(XDUOO_X20)) && !(defined(BOOTLOADER) || defined(CHECKWPS) || defined(SIMULATOR))
|
||||||
#define PIVOT_ROOT "/mnt/sd_0"
|
#define PIVOT_ROOT HOME_DIR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (CONFIG_PLATFORM & PLATFORM_ANDROID)
|
#if (CONFIG_PLATFORM & PLATFORM_ANDROID)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue