Treat unknown RaaA platforms like SDL for last.FM scrobbler log file. Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29315 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
81614c428c
commit
3ced180f5d
1 changed files with 6 additions and 3 deletions
|
@ -83,12 +83,15 @@ static void get_scrobbler_filename(char *path, size_t size)
|
|||
#endif
|
||||
|
||||
/* Get location of USB mass storage area */
|
||||
#if APPLICATION && (CONFIG_PLATFORM & PLATFORM_MAEMO)
|
||||
#ifdef APPLICATION
|
||||
#if (CONFIG_PLATFORM & PLATFORM_MAEMO)
|
||||
used = snprintf(path, size, "/home/user/MyDocs/%s", base_filename);
|
||||
#elif APPLICATION && (CONFIG_PLATFORM & PLATFORM_ANDROID)
|
||||
#elif (CONFIG_PLATFORM & PLATFORM_ANDROID)
|
||||
used = snprintf(path, size, "/sdcard/%s", base_filename);
|
||||
#elif APPLICATION && (CONFIG_PLATFORM & PLATFORM_SDL)
|
||||
#else /* SDL/unknown RaaA build */
|
||||
used = snprintf(path, size, "%s/%s", ROCKBOX_DIR, base_filename);
|
||||
#endif /* (CONFIG_PLATFORM & PLATFORM_MAEMO) */
|
||||
|
||||
#else
|
||||
used = snprintf(path, size, "/%s", base_filename);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue