diff --git a/apps/settings.c b/apps/settings.c index 10ebcbb63e..8835ac8653 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -40,6 +40,7 @@ #endif struct user_settings global_settings; +char rockboxdir[] = "/.rockbox/"; /* config/font/data file directory */ #define CONFIG_BLOCK_VERSION 1 #define CONFIG_BLOCK_SIZE 512 diff --git a/apps/settings.h b/apps/settings.h index 831a70a3bc..c7b8c5fd4a 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -100,6 +100,9 @@ void set_time(char* string, int timedate[]); /* global settings */ extern struct user_settings global_settings; +/* name of directory where configuration, fonts and other data + * files are stored */ +extern char rockboxdir[]; /* system defines */