summaryrefslogtreecommitdiff
blob: e490758f64af2c6a4c38df4f4c480f17db7723eb (plain)
1
2
3
4
5
6
7
8
9
10
11
--- Linux/LnxMain.c.orig	2003-08-14 00:55:01.529872992 -0400
+++ Linux/LnxMain.c	2003-08-14 00:54:56.000000000 -0400
@@ -48,7 +48,7 @@
 	bindtextdomain(PACKAGE, "./Langs");
 	textdomain(PACKAGE);
 #endif
-	strcpy(cfgfile, "Pcsx.cfg");
+	sprintf(cfgfile, "%s/.pcsx/config", getenv("HOME"));
 
 	for (i=1; i<argc; i++) {
 		if (!strcmp(argv[i], "-runcd")) runcd = 1;