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:
parent
cd5ad2ff69
commit
04b3435afd
11 changed files with 19 additions and 17 deletions
|
@ -131,7 +131,7 @@ int initSynth(struct MIDIfile * mf, char * filename, char * drumConfig)
|
|||
while(readChar(file)!=' ' && !eof(file));
|
||||
readTextBlock(file, name);
|
||||
|
||||
rb->snprintf(fn, 40, "/.rockbox/patchset/%s.pat", name);
|
||||
rb->snprintf(fn, 40, ROCKBOX_DIR "/patchset/%s.pat", name);
|
||||
/* printf("\nLOADING: <%s> ", fn); */
|
||||
|
||||
if(patchUsed[a]==1)
|
||||
|
@ -162,7 +162,7 @@ int initSynth(struct MIDIfile * mf, char * filename, char * drumConfig)
|
|||
{
|
||||
readTextBlock(file, number);
|
||||
readTextBlock(file, name);
|
||||
rb->snprintf(fn, 40, "/.rockbox/patchset/%s.pat", name);
|
||||
rb->snprintf(fn, 40, ROCKBOX_DIR "/patchset/%s.pat", name);
|
||||
|
||||
idx = rb->atoi(number);
|
||||
if(idx == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue