summaryrefslogtreecommitdiff
path: root/plugins/dfxvideo
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-11-12 19:40:47 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-11-12 19:40:47 +0000
commiteb27bacdefae4f130fe6f28487409a309f33390d (patch)
tree65829dfacd6265e5380ccfd80f9e5a28f48e01b3 /plugins/dfxvideo
parent67151dd87b5c5fb4c66a9b6d4976b6e34be179ab (diff)
downloadpcsxr-eb27bacdefae4f130fe6f28487409a309f33390d.tar.gz
Fixing inlines to be either static inline or extern inline as the case may be.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72221 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfxvideo')
-rw-r--r--plugins/dfxvideo/prim.c2
-rw-r--r--plugins/dfxvideo/soft.c2
-rw-r--r--plugins/dfxvideo/zn.c8
3 files changed, 6 insertions, 6 deletions
diff --git a/plugins/dfxvideo/prim.c b/plugins/dfxvideo/prim.c
index 0372cb4a..b77b36ec 100644
--- a/plugins/dfxvideo/prim.c
+++ b/plugins/dfxvideo/prim.c
@@ -50,7 +50,7 @@ BOOL bDoVSyncUpdate=FALSE;
#ifdef USE_NASM
#define BGR24to16 i386_BGR24to16
-static __inline unsigned short BGR24to16 (uint32_t BGR);
+extern __inline unsigned short BGR24to16 (uint32_t BGR);
#else
diff --git a/plugins/dfxvideo/soft.c b/plugins/dfxvideo/soft.c
index fda9eb43..e7647b2d 100644
--- a/plugins/dfxvideo/soft.c
+++ b/plugins/dfxvideo/soft.c
@@ -1205,7 +1205,7 @@ static int left_B, delta_left_B, right_B, delta_right_B;
// NASM version (external):
#define shl10idiv i386_shl10idiv
-static __inline int shl10idiv(int x, int y);
+extern __inline int shl10idiv(int x, int y);
#else
diff --git a/plugins/dfxvideo/zn.c b/plugins/dfxvideo/zn.c
index 05ef3c8f..38b906ba 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
- 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
+ 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
const char* GameName; // NULL terminated string
const char* CfgFile; // NULL terminated string
} GPUConfiguration_t;