diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-09-10 09:46:36 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-09-10 09:46:36 +0000 |
commit | 04b3435afd032766a8ac93b2904166499e62c7a4 (patch) | |
tree | 85267d62d97a3ee667fcd17b5c9f22bc5ab9da65 /apps/plugins/midi/synth.c | |
parent | cd5ad2ff6936c8f30fa7a8a78883822348052633 (diff) |
Clean up hard-coded paths
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14662 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/midi/synth.c')
-rw-r--r-- | apps/plugins/midi/synth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/midi/synth.c b/apps/plugins/midi/synth.c index 6ec229b4bf..00a01e41cb 100644 --- a/apps/plugins/midi/synth.c +++ b/apps/plugins/midi/synth.c @@ -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) |