aboutsummaryrefslogtreecommitdiff
path: root/games/megamario/files/patch-src__functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/megamario/files/patch-src__functions.cpp')
-rw-r--r--games/megamario/files/patch-src__functions.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/megamario/files/patch-src__functions.cpp b/games/megamario/files/patch-src__functions.cpp
new file mode 100644
index 000000000000..06fce13cbff2
--- /dev/null
+++ b/games/megamario/files/patch-src__functions.cpp
@@ -0,0 +1,11 @@
+--- ./src/functions.cpp.orig 2014-01-13 00:20:08.000000000 +0100
++++ ./src/functions.cpp 2014-01-13 00:20:08.000000000 +0100
+@@ -447,7 +447,7 @@
+ }
+ else
+ {
+- sprintf(tmp, "mp3music/%s",filename);
++ sprintf(tmp, DATADIR "mp3music/%s",filename);
+ tmp[strlen(tmp)-3]='m';
+ tmp[strlen(tmp)-2]='p';
+ tmp[strlen(tmp)-1]='3';