summaryrefslogtreecommitdiff
path: root/plugins/dfxvideo
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-10-05 10:40:40 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-10-05 10:40:40 +0000
commit1260eea3797de1981e8629dcf04a327d8aa8cb0f (patch)
treeff8bcc6775aee960f881c16df6b8ab224dd66586 /plugins/dfxvideo
parent714a40b66dedf426eb1b3b8938168b5a34ffcb5f (diff)
downloadpcsxr-1260eea3797de1981e8629dcf04a327d8aa8cb0f.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@31119 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfxvideo')
-rw-r--r--plugins/dfxvideo/cfg.c5
1 files changed, 5 insertions, 0 deletions
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 <sys/stat.h>
#include <unistd.h>
+#include <stdlib.h>
+
#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;
}