diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-10-05 08:12:50 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-10-05 08:12:50 +0000 |
| commit | b59859784f3d86b70fbf024fcce878c44a92d9e8 (patch) | |
| tree | 77834ec5205dcdb4136ef69465412236e1a045d8 /plugins/dfinput/pad.c | |
| parent | 224fc8b2fef21ac5506cba0579f622e8c5a39b1a (diff) | |
| download | pcsxr-b59859784f3d86b70fbf024fcce878c44a92d9e8.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@31115 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfinput/pad.c')
| -rw-r--r-- | plugins/dfinput/pad.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/dfinput/pad.c b/plugins/dfinput/pad.c index 4d17cf24..784b8ee3 100644 --- a/plugins/dfinput/pad.c +++ b/plugins/dfinput/pad.c @@ -956,7 +956,9 @@ static void loadConfig() { } long PADconfigure(void) { - system("cfg/cfgDFInput"); + if (fork() == 0) { + execl("cfg/cfgDFInput", "cfgDFInput", NULL); + } return 0; } @@ -967,7 +969,9 @@ long PADconfigure(void) { void PADabout(void) { - system("cfg/cfgDFInput -about"); + if (fork() == 0) { + execl("cfg/cfgDFInput", "cfgDFInput", "-about", NULL); + } } #ifdef __linux__ |
