From b59859784f3d86b70fbf024fcce878c44a92d9e8 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Mon, 5 Oct 2009 08:12:50 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@31115 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfinput/pad.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'plugins/dfinput/pad.c') 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__ -- cgit v1.2.3