summaryrefslogtreecommitdiff
path: root/apps/plugins/midi/synth.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/midi/synth.c')
-rw-r--r--apps/plugins/midi/synth.c4
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)