diff options
| author | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-11-09 20:49:54 +0000 |
|---|---|---|
| committer | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-11-09 20:49:54 +0000 |
| commit | 4d55a8b8254dff61fdc7b1959f6aef7eafbd9439 (patch) | |
| tree | fb5e56131a7c8b729641c70e7a87883ebaea5186 /plugins/dfxvideo | |
| parent | 71d6c56271e2650b1a2f5149521a5b1896084710 (diff) | |
| download | pcsxr-4d55a8b8254dff61fdc7b1959f6aef7eafbd9439.tar.gz | |
Patch 10767 (Durandal_1707).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72138 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfxvideo')
| -rw-r--r-- | plugins/dfxvideo/gpu.c | 6 | ||||
| -rw-r--r-- | plugins/dfxvideo/prim.c | 16 | ||||
| -rw-r--r-- | plugins/dfxvideo/soft.c | 96 | ||||
| -rw-r--r-- | plugins/dfxvideo/zn.c | 8 |
4 files changed, 63 insertions, 63 deletions
diff --git a/plugins/dfxvideo/gpu.c b/plugins/dfxvideo/gpu.c index ef06be1a..1ff9939a 100644 --- a/plugins/dfxvideo/gpu.c +++ b/plugins/dfxvideo/gpu.c @@ -1240,7 +1240,7 @@ void CALLBACK GPUwriteStatus(uint32_t gdata) // WRITE STATUS // vram read/write helpers, needed by LEWPY's optimized vram read/write :)
////////////////////////////////////////////////////////////////////////
-__inline void FinishedVRAMWrite(void)
+static __inline void FinishedVRAMWrite(void)
{
/*
// NEWX
@@ -1267,7 +1267,7 @@ __inline void FinishedVRAMWrite(void) VRAMWrite.RowsRemaining = 0;
}
-__inline void FinishedVRAMRead(void)
+static __inline void FinishedVRAMRead(void)
{
// Set register to NORMAL operation
DataReadMode = DR_NORMAL;
@@ -1629,7 +1629,7 @@ void SetFixes(void) unsigned long lUsedAddr[3];
-__inline BOOL CheckForEndlessLoop(unsigned long laddr)
+static __inline BOOL CheckForEndlessLoop(unsigned long laddr)
{
if(laddr==lUsedAddr[1]) return TRUE;
if(laddr==lUsedAddr[2]) return TRUE;
diff --git a/plugins/dfxvideo/prim.c b/plugins/dfxvideo/prim.c index e797dbec..ed9474c1 100644 --- a/plugins/dfxvideo/prim.c +++ b/plugins/dfxvideo/prim.c @@ -50,11 +50,11 @@ BOOL bDoVSyncUpdate=FALSE; #ifdef USE_NASM
#define BGR24to16 i386_BGR24to16
-__inline unsigned short BGR24to16 (uint32_t BGR);
+static __inline unsigned short BGR24to16 (uint32_t BGR);
#else
-__inline unsigned short BGR24to16 (uint32_t BGR)
+static __inline unsigned short BGR24to16 (uint32_t BGR)
{
return (unsigned short)(((BGR>>3)&0x1f)|((BGR&0xf80000)>>9)|((BGR&0xf800)>>6));
}
@@ -65,7 +65,7 @@ __inline unsigned short BGR24to16 (uint32_t BGR) // Update global TP infos
////////////////////////////////////////////////////////////////////////
-__inline void UpdateGlobalTP(unsigned short gdata)
+static __inline void UpdateGlobalTP(unsigned short gdata)
{
GlobalTextAddrX = (gdata << 6) & 0x3c0; // texture addr
@@ -119,7 +119,7 @@ __inline void UpdateGlobalTP(unsigned short gdata) ////////////////////////////////////////////////////////////////////////
-__inline void SetRenderMode(uint32_t DrawAttributes)
+static __inline void SetRenderMode(uint32_t DrawAttributes)
{
DrawSemiTrans = (SEMITRANSBIT(DrawAttributes)) ? TRUE : FALSE;
@@ -211,7 +211,7 @@ void AdjustCoord1() // \ / \
// 2___3
-__inline BOOL CheckCoord4()
+static __inline BOOL CheckCoord4()
{
if(lx0<0)
{
@@ -277,7 +277,7 @@ __inline BOOL CheckCoord4() return FALSE;
}
-__inline BOOL CheckCoord3()
+static __inline BOOL CheckCoord3()
{
if(lx0<0)
{
@@ -314,7 +314,7 @@ __inline BOOL CheckCoord3() }
-__inline BOOL CheckCoord2()
+static __inline BOOL CheckCoord2()
{
if(lx0<0)
{
@@ -336,7 +336,7 @@ __inline BOOL CheckCoord2() return FALSE;
}
-__inline BOOL CheckCoordL(short slx0,short sly0,short slx1,short sly1)
+static __inline BOOL CheckCoordL(short slx0,short sly0,short slx1,short sly1)
{
if(slx0<0)
{
diff --git a/plugins/dfxvideo/soft.c b/plugins/dfxvideo/soft.c index b0cbc290..ebe02760 100644 --- a/plugins/dfxvideo/soft.c +++ b/plugins/dfxvideo/soft.c @@ -240,7 +240,7 @@ void Dither16(unsigned short * pdest,uint32_t r,uint32_t g,uint32_t b,unsigned s /////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
-__inline void GetShadeTransCol_Dither(unsigned short * pdest, int32_t m1, int32_t m2, int32_t m3)
+static __inline void GetShadeTransCol_Dither(unsigned short * pdest, int32_t m1, int32_t m2, int32_t m3)
{
int32_t r,g,b;
@@ -304,7 +304,7 @@ __inline void GetShadeTransCol_Dither(unsigned short * pdest, int32_t m1, int32_ ////////////////////////////////////////////////////////////////////////
-__inline void GetShadeTransCol(unsigned short * pdest,unsigned short color)
+static __inline void GetShadeTransCol(unsigned short * pdest,unsigned short color)
{
if(bCheckMask && (*pdest & HOST2LE16(0x8000))) return;
@@ -363,7 +363,7 @@ __inline void GetShadeTransCol(unsigned short * pdest,unsigned short color) ////////////////////////////////////////////////////////////////////////
-__inline void GetShadeTransCol32(uint32_t * pdest,uint32_t color)
+static __inline void GetShadeTransCol32(uint32_t * pdest,uint32_t color)
{
if(DrawSemiTrans)
{
@@ -450,7 +450,7 @@ __inline void GetShadeTransCol32(uint32_t * pdest,uint32_t color) ////////////////////////////////////////////////////////////////////////
-__inline void GetTextureTransColG(unsigned short * pdest,unsigned short color)
+static __inline void GetTextureTransColG(unsigned short * pdest,unsigned short color)
{
int32_t r,g,b;unsigned short l;
@@ -523,7 +523,7 @@ __inline void GetTextureTransColG(unsigned short * pdest,unsigned short color) ////////////////////////////////////////////////////////////////////////
-__inline void GetTextureTransColG_S(unsigned short * pdest,unsigned short color)
+static __inline void GetTextureTransColG_S(unsigned short * pdest,unsigned short color)
{
int32_t r,g,b;unsigned short l;
@@ -544,7 +544,7 @@ __inline void GetTextureTransColG_S(unsigned short * pdest,unsigned short color) ////////////////////////////////////////////////////////////////////////
-__inline void GetTextureTransColG_SPR(unsigned short * pdest,unsigned short color)
+static __inline void GetTextureTransColG_SPR(unsigned short * pdest,unsigned short color)
{
int32_t r,g,b;unsigned short l;
@@ -617,7 +617,7 @@ __inline void GetTextureTransColG_SPR(unsigned short * pdest,unsigned short colo ////////////////////////////////////////////////////////////////////////
-__inline void GetTextureTransColG32(uint32_t * pdest,uint32_t color)
+static __inline void GetTextureTransColG32(uint32_t * pdest,uint32_t color)
{
int32_t r,g,b,l;
@@ -721,7 +721,7 @@ __inline void GetTextureTransColG32(uint32_t * pdest,uint32_t color) ////////////////////////////////////////////////////////////////////////
-__inline void GetTextureTransColG32_S(uint32_t * pdest,uint32_t color)
+static __inline void GetTextureTransColG32_S(uint32_t * pdest,uint32_t color)
{
int32_t r,g,b;
@@ -746,7 +746,7 @@ __inline void GetTextureTransColG32_S(uint32_t * pdest,uint32_t color) ////////////////////////////////////////////////////////////////////////
-__inline void GetTextureTransColG32_SPR(uint32_t * pdest,uint32_t color)
+static __inline void GetTextureTransColG32_SPR(uint32_t * pdest,uint32_t color)
{
int32_t r,g,b;
@@ -848,7 +848,7 @@ __inline void GetTextureTransColG32_SPR(uint32_t * pdest,uint32_t color) ////////////////////////////////////////////////////////////////////////
-__inline void GetTextureTransColGX_Dither(unsigned short * pdest,unsigned short color,int32_t m1,int32_t m2,int32_t m3)
+static __inline void GetTextureTransColGX_Dither(unsigned short * pdest,unsigned short color,int32_t m1,int32_t m2,int32_t m3)
{
int32_t r,g,b;
@@ -919,7 +919,7 @@ __inline void GetTextureTransColGX_Dither(unsigned short * pdest,unsigned short ////////////////////////////////////////////////////////////////////////
-__inline void GetTextureTransColGX(unsigned short * pdest,unsigned short color,short m1,short m2,short m3)
+static __inline void GetTextureTransColGX(unsigned short * pdest,unsigned short color,short m1,short m2,short m3)
{
int32_t r,g,b;unsigned short l;
@@ -991,7 +991,7 @@ __inline void GetTextureTransColGX(unsigned short * pdest,unsigned short color,s ////////////////////////////////////////////////////////////////////////
-__inline void GetTextureTransColGX_S(unsigned short * pdest,unsigned short color,short m1,short m2,short m3)
+static __inline void GetTextureTransColGX_S(unsigned short * pdest,unsigned short color,short m1,short m2,short m3)
{
int32_t r,g,b;
@@ -1010,7 +1010,7 @@ __inline void GetTextureTransColGX_S(unsigned short * pdest,unsigned short color ////////////////////////////////////////////////////////////////////////
-__inline void GetTextureTransColGX32_S(uint32_t * pdest,uint32_t color,short m1,short m2,short m3)
+static __inline void GetTextureTransColGX32_S(uint32_t * pdest,uint32_t color,short m1,short m2,short m3)
{
int32_t r,g,b;
@@ -1205,11 +1205,11 @@ static int left_B, delta_left_B, right_B, delta_right_B; // NASM version (external):
#define shl10idiv i386_shl10idiv
-__inline int shl10idiv(int x, int y);
+static __inline int shl10idiv(int x, int y);
#else
-__inline int shl10idiv(int x, int y)
+static __inline int shl10idiv(int x, int y)
{
__int64 bi=x;
bi<<=10;
@@ -1222,7 +1222,7 @@ __inline int shl10idiv(int x, int y) // GNUC long long int version:
-__inline int shl10idiv(int x, int y)
+static __inline int shl10idiv(int x, int y)
{
long long int bi=x;
bi<<=10;
@@ -1235,7 +1235,7 @@ __inline int shl10idiv(int x, int y) ////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
-__inline int RightSection_F(void)
+static __inline int RightSection_F(void)
{
soft_vertex * v1 = right_array[ right_section ];
soft_vertex * v2 = right_array[ right_section-1 ];
@@ -1251,7 +1251,7 @@ __inline int RightSection_F(void) ////////////////////////////////////////////////////////////////////////
-__inline int LeftSection_F(void)
+static __inline int LeftSection_F(void)
{
soft_vertex * v1 = left_array[ left_section ];
soft_vertex * v2 = left_array[ left_section-1 ];
@@ -1267,7 +1267,7 @@ __inline int LeftSection_F(void) ////////////////////////////////////////////////////////////////////////
-__inline BOOL NextRow_F(void)
+static __inline BOOL NextRow_F(void)
{
if(--left_section_height<=0)
{
@@ -1293,7 +1293,7 @@ __inline BOOL NextRow_F(void) ////////////////////////////////////////////////////////////////////////
-__inline BOOL SetupSections_F(short x1, short y1, short x2, short y2, short x3, short y3)
+static __inline BOOL SetupSections_F(short x1, short y1, short x2, short y2, short x3, short y3)
{
soft_vertex * v1, * v2, * v3;
int height,longest;
@@ -1355,7 +1355,7 @@ __inline BOOL SetupSections_F(short x1, short y1, short x2, short y2, short x3, ////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
-__inline int RightSection_G(void)
+static __inline int RightSection_G(void)
{
soft_vertex * v1 = right_array[ right_section ];
soft_vertex * v2 = right_array[ right_section-1 ];
@@ -1371,7 +1371,7 @@ __inline int RightSection_G(void) ////////////////////////////////////////////////////////////////////////
-__inline int LeftSection_G(void)
+static __inline int LeftSection_G(void)
{
soft_vertex * v1 = left_array[ left_section ];
soft_vertex * v2 = left_array[ left_section-1 ];
@@ -1394,7 +1394,7 @@ __inline int LeftSection_G(void) ////////////////////////////////////////////////////////////////////////
-__inline BOOL NextRow_G(void)
+static __inline BOOL NextRow_G(void)
{
if(--left_section_height<=0)
{
@@ -1423,7 +1423,7 @@ __inline BOOL NextRow_G(void) ////////////////////////////////////////////////////////////////////////
-__inline BOOL SetupSections_G(short x1,short y1,short x2,short y2,short x3,short y3,int32_t rgb1, int32_t rgb2, int32_t rgb3)
+static __inline BOOL SetupSections_G(short x1,short y1,short x2,short y2,short x3,short y3,int32_t rgb1, int32_t rgb2, int32_t rgb3)
{
soft_vertex * v1, * v2, * v3;
int height,longest,temp;
@@ -1501,7 +1501,7 @@ __inline BOOL SetupSections_G(short x1,short y1,short x2,short y2,short x3,short ////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
-__inline int RightSection_FT(void)
+static __inline int RightSection_FT(void)
{
soft_vertex * v1 = right_array[ right_section ];
soft_vertex * v2 = right_array[ right_section-1 ];
@@ -1517,7 +1517,7 @@ __inline int RightSection_FT(void) ////////////////////////////////////////////////////////////////////////
-__inline int LeftSection_FT(void)
+static __inline int LeftSection_FT(void)
{
soft_vertex * v1 = left_array[ left_section ];
soft_vertex * v2 = left_array[ left_section-1 ];
@@ -1538,7 +1538,7 @@ __inline int LeftSection_FT(void) ////////////////////////////////////////////////////////////////////////
-__inline BOOL NextRow_FT(void)
+static __inline BOOL NextRow_FT(void)
{
if(--left_section_height<=0)
{
@@ -1566,7 +1566,7 @@ __inline BOOL NextRow_FT(void) ////////////////////////////////////////////////////////////////////////
-__inline BOOL SetupSections_FT(short x1, short y1, short x2, short y2, short x3, short y3, short tx1, short ty1, short tx2, short ty2, short tx3, short ty3)
+static __inline BOOL SetupSections_FT(short x1, short y1, short x2, short y2, short x3, short y3, short tx1, short ty1, short tx2, short ty2, short tx3, short ty3)
{
soft_vertex * v1, * v2, * v3;
int height,longest,temp;
@@ -1654,7 +1654,7 @@ texture distortions ////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
-__inline int RightSection_GT(void)
+static __inline int RightSection_GT(void)
{
soft_vertex * v1 = right_array[ right_section ];
soft_vertex * v2 = right_array[ right_section-1 ];
@@ -1670,7 +1670,7 @@ __inline int RightSection_GT(void) ////////////////////////////////////////////////////////////////////////
-__inline int LeftSection_GT(void)
+static __inline int LeftSection_GT(void)
{
soft_vertex * v1 = left_array[ left_section ];
soft_vertex * v2 = left_array[ left_section-1 ];
@@ -1698,7 +1698,7 @@ __inline int LeftSection_GT(void) ////////////////////////////////////////////////////////////////////////
-__inline BOOL NextRow_GT(void)
+static __inline BOOL NextRow_GT(void)
{
if(--left_section_height<=0)
{
@@ -1729,7 +1729,7 @@ __inline BOOL NextRow_GT(void) ////////////////////////////////////////////////////////////////////////
-__inline BOOL SetupSections_GT(short x1, short y1, short x2, short y2, short x3, short y3, short tx1, short ty1, short tx2, short ty2, short tx3, short ty3, int32_t rgb1, int32_t rgb2, int32_t rgb3)
+static __inline BOOL SetupSections_GT(short x1, short y1, short x2, short y2, short x3, short y3, short tx1, short ty1, short tx2, short ty2, short tx3, short ty3, int32_t rgb1, int32_t rgb2, int32_t rgb3)
{
soft_vertex * v1, * v2, * v3;
int height,longest,temp;
@@ -1834,7 +1834,7 @@ texture distortions ////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
-__inline int RightSection_F4(void)
+static __inline int RightSection_F4(void)
{
soft_vertex * v1 = right_array[ right_section ];
soft_vertex * v2 = right_array[ right_section-1 ];
@@ -1853,7 +1853,7 @@ __inline int RightSection_F4(void) ////////////////////////////////////////////////////////////////////////
-__inline int LeftSection_F4(void)
+static __inline int LeftSection_F4(void)
{
soft_vertex * v1 = left_array[ left_section ];
soft_vertex * v2 = left_array[ left_section-1 ];
@@ -1872,7 +1872,7 @@ __inline int LeftSection_F4(void) ////////////////////////////////////////////////////////////////////////
-__inline BOOL NextRow_F4(void)
+static __inline BOOL NextRow_F4(void)
{
if(--left_section_height<=0)
{
@@ -1904,7 +1904,7 @@ __inline BOOL NextRow_F4(void) ////////////////////////////////////////////////////////////////////////
-__inline BOOL SetupSections_F4(short x1, short y1, short x2, short y2, short x3, short y3, short x4, short y4)
+static __inline BOOL SetupSections_F4(short x1, short y1, short x2, short y2, short x3, short y3, short x4, short y4)
{
soft_vertex * v1, * v2, * v3, * v4;
int height,width,longest1,longest2;
@@ -2046,7 +2046,7 @@ __inline BOOL SetupSections_F4(short x1, short y1, short x2, short y2, short x3, ////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
-__inline int RightSection_FT4(void)
+static __inline int RightSection_FT4(void)
{
soft_vertex * v1 = right_array[ right_section ];
soft_vertex * v2 = right_array[ right_section-1 ];
@@ -2069,7 +2069,7 @@ __inline int RightSection_FT4(void) ////////////////////////////////////////////////////////////////////////
-__inline int LeftSection_FT4(void)
+static __inline int LeftSection_FT4(void)
{
soft_vertex * v1 = left_array[ left_section ];
soft_vertex * v2 = left_array[ left_section-1 ];
@@ -2092,7 +2092,7 @@ __inline int LeftSection_FT4(void) ////////////////////////////////////////////////////////////////////////
-__inline BOOL NextRow_FT4(void)
+static __inline BOOL NextRow_FT4(void)
{
if(--left_section_height<=0)
{
@@ -2128,7 +2128,7 @@ __inline BOOL NextRow_FT4(void) ////////////////////////////////////////////////////////////////////////
-__inline BOOL SetupSections_FT4(short x1, short y1, short x2, short y2, short x3, short y3, short x4, short y4, short tx1, short ty1, short tx2, short ty2, short tx3, short ty3, short tx4, short ty4)
+static __inline BOOL SetupSections_FT4(short x1, short y1, short x2, short y2, short x3, short y3, short x4, short y4, short tx1, short ty1, short tx2, short ty2, short tx3, short ty3, short tx4, short ty4)
{
soft_vertex * v1, * v2, * v3, * v4;
int height,width,longest1,longest2;
@@ -2277,7 +2277,7 @@ __inline BOOL SetupSections_FT4(short x1, short y1, short x2, short y2, short x3 ////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
-__inline int RightSection_GT4(void)
+static __inline int RightSection_GT4(void)
{
soft_vertex * v1 = right_array[ right_section ];
soft_vertex * v2 = right_array[ right_section-1 ];
@@ -2307,7 +2307,7 @@ __inline int RightSection_GT4(void) ////////////////////////////////////////////////////////////////////////
-__inline int LeftSection_GT4(void)
+static __inline int LeftSection_GT4(void)
{
soft_vertex * v1 = left_array[ left_section ];
soft_vertex * v2 = left_array[ left_section-1 ];
@@ -2337,7 +2337,7 @@ __inline int LeftSection_GT4(void) ////////////////////////////////////////////////////////////////////////
-__inline BOOL NextRow_GT4(void)
+static __inline BOOL NextRow_GT4(void)
{
if(--left_section_height<=0)
{
@@ -2379,7 +2379,7 @@ __inline BOOL NextRow_GT4(void) ////////////////////////////////////////////////////////////////////////
-__inline BOOL SetupSections_GT4(short x1, short y1, short x2, short y2, short x3, short y3, short x4, short y4, short tx1, short ty1, short tx2, short ty2, short tx3, short ty3, short tx4, short ty4,int32_t rgb1,int32_t rgb2,int32_t rgb3,int32_t rgb4)
+static __inline BOOL SetupSections_GT4(short x1, short y1, short x2, short y2, short x3, short y3, short x4, short y4, short tx1, short ty1, short tx2, short ty2, short tx3, short ty3, short tx4, short ty4,int32_t rgb1,int32_t rgb2,int32_t rgb3,int32_t rgb4)
{
soft_vertex * v1, * v2, * v3, * v4;
int height,width,longest1,longest2;
@@ -2549,7 +2549,7 @@ __inline BOOL SetupSections_GT4(short x1, short y1, short x2, short y2, short x3 // POLY 3/4 FLAT SHADED
////////////////////////////////////////////////////////////////////////
-__inline void drawPoly3Fi(short x1,short y1,short x2,short y2,short x3,short y3,int32_t rgb)
+static __inline void drawPoly3Fi(short x1,short y1,short x2,short y2,short x3,short y3,int32_t rgb)
{
int i,j,xmin,xmax,ymin,ymax;
unsigned short color;uint32_t lcolor;
@@ -5187,7 +5187,7 @@ void drawPoly4TD_TW_S(short x1, short y1, short x2, short y2, short x3, short y3 // POLY 3/4 G-SHADED
////////////////////////////////////////////////////////////////////////
-__inline void drawPoly3Gi(short x1,short y1,short x2,short y2,short x3,short y3,int32_t rgb1, int32_t rgb2, int32_t rgb3)
+static __inline void drawPoly3Gi(short x1,short y1,short x2,short y2,short x3,short y3,int32_t rgb1, int32_t rgb2, int32_t rgb3)
{
int i,j,xmin,xmax,ymin,ymax;
int32_t cR1,cG1,cB1;
@@ -7086,7 +7086,7 @@ void drawPoly4TGD_TW(short x1, short y1, short x2, short y2, short x3, short y3, /*
// no real rect test, but it does its job the way I need it
-__inline BOOL IsNoRect(void)
+static __inline BOOL IsNoRect(void)
{
if(lx0==lx1 && lx2==lx3) return FALSE;
if(lx0==lx2 && lx1==lx3) return FALSE;
@@ -7096,7 +7096,7 @@ __inline BOOL IsNoRect(void) */
// real rect test
-__inline BOOL IsNoRect(void)
+static __inline BOOL IsNoRect(void)
{
if(!(dwActFixes&0x200)) return FALSE;
diff --git a/plugins/dfxvideo/zn.c b/plugins/dfxvideo/zn.c index 38b906ba..05ef3c8f 100644 --- a/plugins/dfxvideo/zn.c +++ b/plugins/dfxvideo/zn.c @@ -71,10 +71,10 @@ int iTileCheat=0; typedef struct GPUOTAG
{
- uint32_t Version; // Version of structure - currently 1
- long hWnd; // Window handle
- uint32_t ScreenRotation; // 0 = 0CW, 1 = 90CW, 2 = 180CW, 3 = 270CW = 90CCW
- uint32_t GPUVersion; // 0 = a, 1 = b, 2 = c
+ uint32_t Version; // Version of structure - currently 1
+ unsigned long hWnd; // Window handle
+ uint32_t ScreenRotation; // 0 = 0CW, 1 = 90CW, 2 = 180CW, 3 = 270CW = 90CCW
+ uint32_t GPUVersion; // 0 = a, 1 = b, 2 = c
const char* GameName; // NULL terminated string
const char* CfgFile; // NULL terminated string
} GPUConfiguration_t;
|
