summaryrefslogtreecommitdiff
path: root/community/visualboyadvance/1.7.2-homedir.patch
blob: e93d32cf54a5debd5c4d8d6f804eff74f05f5c28 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/sdl/SDL.cpp.orig	2004-08-15 02:43:28.232750688 -0400
+++ src/sdl/SDL.cpp	2004-08-15 02:44:01.557684528 -0400
@@ -887,7 +887,7 @@
 
   if(home != NULL) {
     fprintf(stderr, "Searching home directory: %s\n", home);
-    sprintf(path, "%s%c%s", home, FILE_SEP, name);
+    sprintf(path, "%s%c.%s%c%s", home, FILE_SEP, EXE_NAME, FILE_SEP, name);
     f = fopen(path, "r");
     if(f != NULL)
       return f;