summaryrefslogtreecommitdiff
path: root/plugins/dfsound/cfg.c
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-07-10 06:54:11 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-07-10 06:54:11 +0000
commitf7823bc1646f1885bd9a0a19a9645c0e2cb884bd (patch)
tree15f115383205088b3fca3f4c41a319e1da183ac7 /plugins/dfsound/cfg.c
parentfcf4fb0933140db08c7bc094abc9edb271c13359 (diff)
downloadpcsxr-f7823bc1646f1885bd9a0a19a9645c0e2cb884bd.tar.gz
I was really stupid... just use libcdio and everything's fine, no need to deal with different OSes at all.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54442 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfsound/cfg.c')
-rw-r--r--plugins/dfsound/cfg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/dfsound/cfg.c b/plugins/dfsound/cfg.c
index 2478c9fa..2acb9c37 100644
--- a/plugins/dfsound/cfg.c
+++ b/plugins/dfsound/cfg.c
@@ -36,27 +36,27 @@ void StartCfgTool(char * pCmdLine)
FILE * cf;
char filename[255];
- strcpy(filename,"cfg/cfgDFSound");
+ strcpy(filename,"cfgDFSound");
cf=fopen(filename,"rb");
if(cf!=NULL)
{
fclose(cf);
if(fork()==0)
{
- chdir("cfg");
execl("./cfgDFSound","cfgDFSound",pCmdLine,NULL);
exit(0);
}
}
else
{
- strcpy(filename,"cfgDFSound");
+ strcpy(filename,"cfg/cfgDFSound");
cf=fopen(filename,"rb");
if(cf!=NULL)
{
fclose(cf);
if(fork()==0)
{
+ chdir("cfg");
execl("./cfgDFSound","cfgDFSound",pCmdLine,NULL);
exit(0);
}
@@ -155,7 +155,7 @@ void ReadConfigFile(void)
void ReadConfig(void)
{
- iVolume=3;
+ iVolume=2;
iXAPitch=0;
iSPUIRQWait=1;
iUseTimer=2;