From e906c010e1bea71ed4df425be97ce45dc777818c Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 18 Nov 2010 15:08:15 +0200 Subject: build plugins in --- plugins/dfxvideo/cfg.c | 4 ++-- plugins/dfxvideo/cfg.h | 2 +- plugins/dfxvideo/draw.c | 2 +- plugins/dfxvideo/gpu.c | 4 +++- 4 files changed, 7 insertions(+), 5 deletions(-) (limited to 'plugins/dfxvideo') 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(); -- cgit v1.2.3