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/peopsxgl | |
| 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/peopsxgl')
| -rw-r--r-- | plugins/peopsxgl/cfg.c | 7 | ||||
| -rw-r--r-- | plugins/peopsxgl/gpu.c | 18 |
2 files changed, 10 insertions, 15 deletions
diff --git a/plugins/peopsxgl/cfg.c b/plugins/peopsxgl/cfg.c index 0c5d28bf..3dcd0aba 100644 --- a/plugins/peopsxgl/cfg.c +++ b/plugins/peopsxgl/cfg.c @@ -203,7 +203,7 @@ void ReadConfigFile() void ReadConfig(void) // read config (linux file)
{
- iResX=640; + iResX=640;
iResY=480;
iColDepth=16;
bChangeRes=FALSE;
@@ -247,8 +247,3 @@ void ReadConfig(void) // read config (linux fil else iZBufferDepth=0;
if(bUseFixes) dwActFixes=dwCfgFixes; // init game fix global
}
-
-
-
-
-
diff --git a/plugins/peopsxgl/gpu.c b/plugins/peopsxgl/gpu.c index 8d6aa712..f956a63c 100644 --- a/plugins/peopsxgl/gpu.c +++ b/plugins/peopsxgl/gpu.c @@ -2624,25 +2624,25 @@ void StartCfgTool(char *arg) // linux: start external cfg tool strcpy(cfg, "./cfgpeopsxgl");
if (stat(cfg, &buf) != -1) {
- strcat(cfg, " ");
- strcat(cfg, arg);
- system(cfg);
+ if (fork() == 0) {
+ execl(cfg, "cfgpeopsxgl", arg, NULL);
+ }
return;
}
strcpy(cfg, "./cfg/cfgpeopsxgl");
if (stat(cfg, &buf) != -1) {
- strcat(cfg, " ");
- strcat(cfg, arg);
- system(cfg);
+ if (fork() == 0) {
+ execl(cfg, "cfgpeopsxgl", arg, NULL);
+ }
return;
}
sprintf(cfg, "%s/.pcsx/plugins/cfg/cfgpeopsxgl", getenv("HOME"));
if (stat(cfg, &buf) != -1) {
- strcat(cfg, " ");
- strcat(cfg, arg);
- system(cfg);
+ if (fork() == 0) {
+ execl(cfg, "cfgpeopsxgl", arg, NULL);
+ }
return;
}
|
