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) | |
download | rockbox-04b3435afd032766a8ac93b2904166499e62c7a4.tar.gz rockbox-04b3435afd032766a8ac93b2904166499e62c7a4.zip |
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) | |||
131 | while(readChar(file)!=' ' && !eof(file)); | 131 | while(readChar(file)!=' ' && !eof(file)); |
132 | readTextBlock(file, name); | 132 | readTextBlock(file, name); |
133 | 133 | ||
134 | rb->snprintf(fn, 40, "/.rockbox/patchset/%s.pat", name); | 134 | rb->snprintf(fn, 40, ROCKBOX_DIR "/patchset/%s.pat", name); |
135 | /* printf("\nLOADING: <%s> ", fn); */ | 135 | /* printf("\nLOADING: <%s> ", fn); */ |
136 | 136 | ||
137 | if(patchUsed[a]==1) | 137 | if(patchUsed[a]==1) |
@@ -162,7 +162,7 @@ int initSynth(struct MIDIfile * mf, char * filename, char * drumConfig) | |||
162 | { | 162 | { |
163 | readTextBlock(file, number); | 163 | readTextBlock(file, number); |
164 | readTextBlock(file, name); | 164 | readTextBlock(file, name); |
165 | rb->snprintf(fn, 40, "/.rockbox/patchset/%s.pat", name); | 165 | rb->snprintf(fn, 40, ROCKBOX_DIR "/patchset/%s.pat", name); |
166 | 166 | ||
167 | idx = rb->atoi(number); | 167 | idx = rb->atoi(number); |
168 | if(idx == 0) | 168 | if(idx == 0) |