diff options
Diffstat (limited to 'plugins/peopsxgl/cfg.c')
| -rw-r--r-- | plugins/peopsxgl/cfg.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/peopsxgl/cfg.c b/plugins/peopsxgl/cfg.c index 7753045a..e734373b 100644 --- a/plugins/peopsxgl/cfg.c +++ b/plugins/peopsxgl/cfg.c @@ -28,22 +28,22 @@ #include "stdafx.h"
#include "externals.h"
-#include "cfg.h" +#include "cfg.h"
-char *pConfigFile = NULL; +char *pConfigFile = NULL;
void ReadConfigFile()
{
- FILE *in = NULL; + FILE *in = NULL;
int len;
char *pB, *p, t[256];
- - if (pConfigFile != NULL) +
+ if (pConfigFile != NULL)
in = fopen(pConfigFile, "rb");
- else - in = fopen("cfg/peopsxgl.cfg", "rb"); + else
+ in = fopen("gpuPeopsMesaGL.cfg", "rb");
- if (in == NULL) return; + if (in == NULL) return;
pB=(char *)malloc(32767); // buffer for reading config (32k)
memset(pB, 0, 32767);
|
