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/prim.c | |
| 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/prim.c')
| -rw-r--r-- | plugins/dfxvideo/prim.c | 16 |
1 files changed, 8 insertions, 8 deletions
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)
{
|
