[BugFix] extra slashes in recording directory

the define for HOME_DIR has a single slash for native

hosted does or doesn't but native always has 2

Change-Id: I2ff546da8e422feb04027de164caf3747f6d9355
This commit is contained in:
William Wilgus 2024-07-23 22:14:16 -04:00
parent cd1922fe74
commit 89b4cd59ef

View file

@ -54,6 +54,8 @@
#define RB_ROOT_VOL_HIDDEN(v) (IF_MV_VOL(v) == 0) #define RB_ROOT_VOL_HIDDEN(v) (IF_MV_VOL(v) == 0)
#define RB_ROOT_CONTENTS_DIR "/" IF_MV("<0>") #define RB_ROOT_CONTENTS_DIR "/" IF_MV("<0>")
#define REC_BASE_DIR HOME_DIR "Recordings"
#define PLAYLIST_CATALOG_DEFAULT_DIR HOME_DIR "Playlists"
#else /* APPLICATION */ #else /* APPLICATION */
@ -67,13 +69,11 @@
#define CODECS_DIR ROCKBOX_LIBRARY_PATH "/rockbox/codecs" #define CODECS_DIR ROCKBOX_LIBRARY_PATH "/rockbox/codecs"
#endif #endif
#define REC_BASE_DIR HOME_DIR "/Recordings"]
#define PLAYLIST_CATALOG_DEFAULT_DIR HOME_DIR "/Playlists"
#endif /* !APPLICATION || SAMSUNG_YPR0 */ #endif /* !APPLICATION || SAMSUNG_YPR0 */
#define REC_BASE_DIR HOME_DIR "/Recordings"
#define PLAYLIST_CATALOG_DEFAULT_DIR HOME_DIR "/Playlists"
#define LANG_DIR ROCKBOX_DIR "/langs" #define LANG_DIR ROCKBOX_DIR "/langs"
#define PLUGIN_GAMES_DIR PLUGIN_DIR "/games" #define PLUGIN_GAMES_DIR PLUGIN_DIR "/games"
#define PLUGIN_APPS_DIR PLUGIN_DIR "/apps" #define PLUGIN_APPS_DIR PLUGIN_DIR "/apps"
#define PLUGIN_DEMOS_DIR PLUGIN_DIR "/demos" #define PLUGIN_DEMOS_DIR PLUGIN_DIR "/demos"