diff options
author | notaz | 2010-11-18 15:08:15 +0200 |
---|---|---|
committer | notaz | 2010-11-18 15:08:15 +0200 |
commit | e906c010e1bea71ed4df425be97ce45dc777818c (patch) | |
tree | 08776f015004a3f4ae2222a51ff2993e23a1b129 /plugins/dfxvideo | |
parent | f2bd6ff85d23f3e421b2f30f86080d71d4e95046 (diff) | |
download | pcsx_rearmed-e906c010e1bea71ed4df425be97ce45dc777818c.tar.gz pcsx_rearmed-e906c010e1bea71ed4df425be97ce45dc777818c.tar.bz2 pcsx_rearmed-e906c010e1bea71ed4df425be97ce45dc777818c.zip |
build plugins in
Diffstat (limited to 'plugins/dfxvideo')
-rw-r--r-- | plugins/dfxvideo/cfg.c | 4 | ||||
-rw-r--r-- | plugins/dfxvideo/cfg.h | 2 | ||||
-rw-r--r-- | plugins/dfxvideo/draw.c | 2 | ||||
-rw-r--r-- | plugins/dfxvideo/gpu.c | 4 |
4 files changed, 7 insertions, 5 deletions
diff --git a/plugins/dfxvideo/cfg.c b/plugins/dfxvideo/cfg.c index 9baf8bc..dbc3bc5 100644 --- a/plugins/dfxvideo/cfg.c +++ b/plugins/dfxvideo/cfg.c @@ -80,7 +80,7 @@ char * pConfigFile = NULL; size+=sprintf(pB+size, "%s = %.1f\n", name, (double)var); \ } -void ReadConfigFile() +static void ReadConfigFile() { struct stat buf; FILE *in;char t[256];int len, size; @@ -213,7 +213,7 @@ void AboutDlgProc(void) ExecCfg(args); } -void ReadConfig(void) +void ReadConfigGPU(void) { // defaults iResX=640;iResY=480; diff --git a/plugins/dfxvideo/cfg.h b/plugins/dfxvideo/cfg.h index fa259f3..d51dd5b 100644 --- a/plugins/dfxvideo/cfg.h +++ b/plugins/dfxvideo/cfg.h @@ -18,7 +18,7 @@ #ifndef _GPU_CFG_H_ #define _GPU_CFG_H_ -void ReadConfig(void); +void ReadConfigGPU(void); void WriteConfig(void); void ReadWinSizeConfig(void); diff --git a/plugins/dfxvideo/draw.c b/plugins/dfxvideo/draw.c index fe7f87a..34a8635 100644 --- a/plugins/dfxvideo/draw.c +++ b/plugins/dfxvideo/draw.c @@ -39,7 +39,7 @@ int iWinSize; int iMaintainAspect = 0; int iUseNoStretchBlt = 0; int iFastFwd = 0; -int iDebugMode = 0; +//int iDebugMode = 0; int iFVDisplay = 0; PSXPoint_t ptCursorPoint[8]; unsigned short usCursorActive = 0; diff --git a/plugins/dfxvideo/gpu.c b/plugins/dfxvideo/gpu.c index 7dd359f..20e5eef 100644 --- a/plugins/dfxvideo/gpu.c +++ b/plugins/dfxvideo/gpu.c @@ -135,6 +135,7 @@ void CALLBACK GPUdisplayFlags(unsigned long dwFlags) // some info func // stuff to make this a true PDK module //////////////////////////////////////////////////////////////////////// +/* char * CALLBACK PSEgetLibName(void) { return _(libraryName); @@ -154,6 +155,7 @@ char * GPUgetLibInfos(void) { return _(libraryInfo); } +*/ //////////////////////////////////////////////////////////////////////// // Snapshot func @@ -400,7 +402,7 @@ long GPUopen(unsigned long * disp,char * CapText,char * CfgFile) pCaptionText=CapText; - ReadConfig(); // read registry + ReadConfigGPU(); // read registry InitFPS(); |