summaryrefslogtreecommitdiff
path: root/firmware/export/rbpaths.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/rbpaths.h')
-rw-r--r--firmware/export/rbpaths.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/export/rbpaths.h b/firmware/export/rbpaths.h
index 74d26f93d3..8f554c25f4 100644
--- a/firmware/export/rbpaths.h
+++ b/firmware/export/rbpaths.h
@@ -44,7 +44,7 @@
44#define ROCKBOX_DIR_LEN (sizeof(ROCKBOX_DIR)-1) 44#define ROCKBOX_DIR_LEN (sizeof(ROCKBOX_DIR)-1)
45#endif /* def __PCTOOL__ */ 45#endif /* def __PCTOOL__ */
46 46
47#ifndef APPLICATION 47#if !defined(APPLICATION) || defined(SAMSUNG_YPR0)
48 48
49/* make sure both are the same for native builds */ 49/* make sure both are the same for native builds */
50#undef ROCKBOX_LIBRARY_PATH 50#undef ROCKBOX_LIBRARY_PATH
@@ -57,6 +57,7 @@
57#define PLAYLIST_CATALOG_DEFAULT_DIR "/Playlists" 57#define PLAYLIST_CATALOG_DEFAULT_DIR "/Playlists"
58 58
59#define paths_init() 59#define paths_init()
60
60#else /* application */ 61#else /* application */
61 62
62#define PLUGIN_DIR ROCKBOX_LIBRARY_PATH "/rockbox/rocks" 63#define PLUGIN_DIR ROCKBOX_LIBRARY_PATH "/rockbox/rocks"
@@ -80,7 +81,7 @@ extern void paths_init(void);
80#define PLUGIN_DEMOS_DIR PLUGIN_DIR "/demos" 81#define PLUGIN_DEMOS_DIR PLUGIN_DIR "/demos"
81#define VIEWERS_DIR PLUGIN_DIR "/viewers" 82#define VIEWERS_DIR PLUGIN_DIR "/viewers"
82 83
83#ifdef APPLICATION 84#if defined(APPLICATION) && !defined(SAMSUNG_YPR0)
84#define PLUGIN_DATA_DIR "/.rockbox/rocks.data" 85#define PLUGIN_DATA_DIR "/.rockbox/rocks.data"
85#define PLUGIN_GAMES_DATA_DIR PLUGIN_DATA_DIR 86#define PLUGIN_GAMES_DATA_DIR PLUGIN_DATA_DIR
86#define PLUGIN_APPS_DATA_DIR PLUGIN_DATA_DIR 87#define PLUGIN_APPS_DATA_DIR PLUGIN_DATA_DIR