summaryrefslogtreecommitdiff
path: root/plugins/dfxvideo
diff options
context:
space:
mode:
authorSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-11-12 07:05:45 +0000
committerSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-11-12 07:05:45 +0000
commit3732bc146db1bc8b41b5e40765510383feae594b (patch)
treea9fe74a8152fff737a6ddb626cb4ca814dc3c105 /plugins/dfxvideo
parentea7338ddf9678665f8f59948225077d24afa3a93 (diff)
downloadpcsxr-3732bc146db1bc8b41b5e40765510383feae594b.tar.gz
Patch 10804, 10805 (MaddTheSane).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72189 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfxvideo')
-rw-r--r--plugins/dfxvideo/prim.c8
-rw-r--r--plugins/dfxvideo/soft.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/dfxvideo/prim.c b/plugins/dfxvideo/prim.c
index ed9474c1..0372cb4a 100644
--- a/plugins/dfxvideo/prim.c
+++ b/plugins/dfxvideo/prim.c
@@ -155,7 +155,7 @@ static __inline void SetRenderMode(uint32_t DrawAttributes)
#define CHKMAX_X 1024
#define CHKMAX_Y 512
-void AdjustCoord4()
+static void AdjustCoord4()
{
lx0=(short)(((int)lx0<<SIGNSHIFT)>>SIGNSHIFT);
lx1=(short)(((int)lx1<<SIGNSHIFT)>>SIGNSHIFT);
@@ -167,7 +167,7 @@ void AdjustCoord4()
ly3=(short)(((int)ly3<<SIGNSHIFT)>>SIGNSHIFT);
}
-void AdjustCoord3()
+static void AdjustCoord3()
{
lx0=(short)(((int)lx0<<SIGNSHIFT)>>SIGNSHIFT);
lx1=(short)(((int)lx1<<SIGNSHIFT)>>SIGNSHIFT);
@@ -177,7 +177,7 @@ void AdjustCoord3()
ly2=(short)(((int)ly2<<SIGNSHIFT)>>SIGNSHIFT);
}
-void AdjustCoord2()
+static void AdjustCoord2()
{
lx0=(short)(((int)lx0<<SIGNSHIFT)>>SIGNSHIFT);
lx1=(short)(((int)lx1<<SIGNSHIFT)>>SIGNSHIFT);
@@ -185,7 +185,7 @@ void AdjustCoord2()
ly1=(short)(((int)ly1<<SIGNSHIFT)>>SIGNSHIFT);
}
-void AdjustCoord1()
+static void AdjustCoord1()
{
lx0=(short)(((int)lx0<<SIGNSHIFT)>>SIGNSHIFT);
ly0=(short)(((int)ly0<<SIGNSHIFT)>>SIGNSHIFT);
diff --git a/plugins/dfxvideo/soft.c b/plugins/dfxvideo/soft.c
index ebe02760..fda9eb43 100644
--- a/plugins/dfxvideo/soft.c
+++ b/plugins/dfxvideo/soft.c
@@ -211,7 +211,7 @@ unsigned char dithertable[16] =
4, 3, 5, 2
};
-void Dither16(unsigned short * pdest,uint32_t r,uint32_t g,uint32_t b,unsigned short sM)
+static void Dither16(unsigned short * pdest,uint32_t r,uint32_t g,uint32_t b,unsigned short sM)
{
unsigned char coeff;
unsigned char rlow, glow, blow;