1
0
Fork 0
forked from len0rd/rockbox

Clean up hard-coded paths

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14662 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2007-09-10 09:46:36 +00:00
parent cd5ad2ff69
commit 04b3435afd
11 changed files with 19 additions and 17 deletions

View file

@ -68,7 +68,7 @@ static bool loadFile( const char * name, unsigned char * buf, int len )
{
char filename[MAX_PATH];
rb->snprintf(filename,sizeof(filename),"/.rockbox/pacman/%s",name);
rb->snprintf(filename,sizeof(filename), ROCKBOX_DIR "/pacman/%s",name);
int fd = rb->open( filename, O_RDONLY);
@ -419,7 +419,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
SETTINGS_VERSION);
}
} else {
rb->splash(HZ*2, "No ROMs in /.rockbox/pacman/");
rb->splash(HZ*2, "No ROMs in %s/pacman/", ROCKBOX_DIR);
}
#ifdef HAVE_ADJUSTABLE_CPU_FREQ