summaryrefslogtreecommitdiff
path: root/plugins/dfxvideo
diff options
context:
space:
mode:
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;