From 1260eea3797de1981e8629dcf04a327d8aa8cb0f Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Mon, 5 Oct 2009 10:40:40 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@31119 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfxvideo/cfg.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/dfxvideo') diff --git a/plugins/dfxvideo/cfg.c b/plugins/dfxvideo/cfg.c index 458cde09..5c545240 100644 --- a/plugins/dfxvideo/cfg.c +++ b/plugins/dfxvideo/cfg.c @@ -19,6 +19,8 @@ #include #include +#include + #undef FALSE #undef TRUE #define MAKELONG(low,high) ((unsigned long)(((unsigned short)(low)) | (((unsigned long)((unsigned short)(high))) << 16))) @@ -172,6 +174,7 @@ void ExecCfg(char *arg) { if (stat(cfg, &buf) != -1) { if (fork() == 0) { execl(cfg, "cfgDFXVideo", arg, NULL); + exit(0); } return; } @@ -180,6 +183,7 @@ void ExecCfg(char *arg) { if (stat(cfg, &buf) != -1) { if (fork() == 0) { execl(cfg, "cfgDFXVideo", arg, NULL); + exit(0); } return; } @@ -188,6 +192,7 @@ void ExecCfg(char *arg) { if (stat(cfg, &buf) != -1) { if (fork() == 0) { execl(cfg, "cfgDFXVideo", arg, NULL); + exit(0); } return; } -- cgit v1.2.3