From 303526a061af0ba94fb320887e36b90ac8d9123c Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Mon, 2 Nov 2009 06:59:44 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@34786 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfxvideo/externals.h | 4 ++-- plugins/dfxvideo/gpu.c | 17 +++++++++++++++-- 2 files changed, 17 insertions(+), 4 deletions(-) (limited to 'plugins') diff --git a/plugins/dfxvideo/externals.h b/plugins/dfxvideo/externals.h index 3ef27236..e2cdba09 100644 --- a/plugins/dfxvideo/externals.h +++ b/plugins/dfxvideo/externals.h @@ -61,10 +61,10 @@ #include #include #include -/*#include -#include */ +#ifndef _MACGL #include #include +#endif #include #include #include diff --git a/plugins/dfxvideo/gpu.c b/plugins/dfxvideo/gpu.c index 63aa4965..b5addb98 100644 --- a/plugins/dfxvideo/gpu.c +++ b/plugins/dfxvideo/gpu.c @@ -15,7 +15,9 @@ * * ***************************************************************************/ +#ifndef _MACGL #include "config.h" +#endif #define _IN_GPU @@ -49,8 +51,13 @@ const unsigned char version = 1; // do not touch - library for PSEmu 1.x const unsigned char revision = 1; const unsigned char build = 17; // increase that with each version +#ifdef _MACGL +static char *libraryName = N_("SoftGL Driver"); +static char *libraryInfo = N_("P.E.Op.S. SoftGL Driver V1.17\nCoded by Pete Bernert and the P.E.Op.S. team\n"); +#else static char *libraryName = N_("XVideo Driver"); static char *libraryInfo = N_("P.E.Op.S. Xvideo Driver V1.17\nCoded by Pete Bernert and the P.E.Op.S. team\n"); +#endif static char *PluginAuthor = N_("Pete Bernert and the P.E.Op.S. team"); @@ -195,12 +202,14 @@ static char * pGetConfigInfos(int iCfg) else sprintf(szTxt,"- FPS limit: %.1f\r\n\r\n",fFrameRate); strcat(pB,szTxt); //----------------------------------------------------// +#ifndef _MACGL strcpy(szTxt,"Misc:\r\n- MaintainAspect: "); if(iMaintainAspect == 0) strcat(szTxt,"disabled"); else if(iMaintainAspect == 1) strcat(szTxt,"enabled"); strcat(szTxt,"\r\n"); strcat(pB,szTxt); +#endif sprintf(szTxt,"- Game fixes: %s [%08x]\r\n",szO[iUseFixes],dwCfgFixes); strcat(pB,szTxt); //----------------------------------------------------// @@ -646,6 +655,8 @@ void updateDisplayIfChanged(void) // UPDATE DISPLAY IF CHAN //////////////////////////////////////////////////////////////////////// +#ifndef _MACGL + #include "draw.h" void ChangeWindowMode(void) // TOGGLE FULLSCREEN - WINDOW @@ -743,6 +754,8 @@ void ChangeWindowMode(void) // TOGGLE FULLSCREEN - WI bDoVSyncUpdate=TRUE; } +#endif + //////////////////////////////////////////////////////////////////////// // gun cursor func: player=0-7, x=0-511, y=0-255 //////////////////////////////////////////////////////////////////////// @@ -796,9 +809,9 @@ void CALLBACK GPUupdateLace(void) // VSYNC updateDisplay(); // -> update display } } - +#ifndef _MACGL if(bChangeWinMode) ChangeWindowMode(); // toggle full - window mode - +#endif bDoVSyncUpdate=FALSE; // vsync done } -- cgit v1.2.3