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/peopsxgl/gpu.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/peopsxgl/gpu.c')
| -rw-r--r-- | plugins/peopsxgl/gpu.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/plugins/peopsxgl/gpu.c b/plugins/peopsxgl/gpu.c index 46e98198..de64252b 100644 --- a/plugins/peopsxgl/gpu.c +++ b/plugins/peopsxgl/gpu.c @@ -21,7 +21,9 @@ #include "stdafx.h"
-#if !defined(_MACGL) && !defined(_WINDOWS)
+#if defined (_MACGL)
+#include "drawgl.h"
+#elif !defined(_MACGL) && !defined(_WINDOWS)
#include "config.h"
@@ -1185,7 +1187,7 @@ void PaintBlackBorders(void) // helper to draw scanlines
////////////////////////////////////////////////////////////////////////
-__inline void XPRIMdrawTexturedQuad(OGLVertex* vertex1, OGLVertex* vertex2,
+static __inline void XPRIMdrawTexturedQuad(OGLVertex* vertex1, OGLVertex* vertex2,
OGLVertex* vertex3, OGLVertex* vertex4)
{
@@ -2345,7 +2347,7 @@ void CALLBACK GPUwriteStatus(uint32_t gdata) BOOL bNeedWriteUpload=FALSE;
-__inline void FinishedVRAMWrite(void)
+static __inline void FinishedVRAMWrite(void)
{
if(bNeedWriteUpload)
{
@@ -2361,7 +2363,7 @@ __inline void FinishedVRAMWrite(void) VRAMWrite.RowsRemaining = 0;
}
-__inline void FinishedVRAMRead(void)
+static __inline void FinishedVRAMRead(void)
{
// set register to NORMAL operation
iDataReadMode = DR_NORMAL;
@@ -3041,7 +3043,7 @@ void SetFixes(void) uint32_t lUsedAddr[3];
-__inline BOOL CheckForEndlessLoop(uint32_t laddr)
+static __inline BOOL CheckForEndlessLoop(uint32_t laddr)
{
if(laddr==lUsedAddr[1]) return TRUE;
if(laddr==lUsedAddr[2]) return TRUE;
|
