cdrom: change pause timing again
[pcsx_rearmed.git] / plugins / gpu-gles / gpuDraw.c
index 34d1c3b..d6670ee 100644 (file)
@@ -111,7 +111,7 @@ BOOL           bCheckMask=FALSE;
 int            iUseMask=0;\r
 int            iSetMask=0;\r
 unsigned short sSetMask=0;\r
-unsigned long  lSetMask=0;\r
+unsigned int   lSetMask=0;\r
 \r
 // drawing/coord vars\r
 \r
@@ -291,7 +291,7 @@ bool TestEGLError(const char* pszLocation)
        EGLint iErr = eglGetError();\r
        if (iErr != EGL_SUCCESS)\r
        {\r
-               printf("%s failed (0x%x).\n", pszLocation, iErr);\r
+               printf("%s failed (0x%x).\n", pszLocation, (int)iErr);\r
                return FALSE;\r
        }\r
 \r
@@ -572,7 +572,7 @@ void GLcleanup()
 //              real psx polygon coord mapping right... the following\r
 //              works not to bad with many games, though\r
 \r
-__inline BOOL CheckCoord4()\r
+static __inline BOOL CheckCoord4()\r
 {\r
  if(lx0<0)\r
   {\r
@@ -638,7 +638,7 @@ __inline BOOL CheckCoord4()
  return FALSE;\r
 }\r
 \r
-__inline BOOL CheckCoord3()\r
+static __inline BOOL CheckCoord3()\r
 {\r
  if(lx0<0)\r
   {\r
@@ -675,7 +675,7 @@ __inline BOOL CheckCoord3()
 }\r
 \r
 \r
-__inline BOOL CheckCoord2()\r
+static __inline BOOL CheckCoord2()\r
 {\r
  if(lx0<0)\r
   {\r
@@ -921,14 +921,14 @@ void offsetST(void)
 \r
 ///////////////////////////////////////////////////////// \r
 \r
-void offsetScreenUpload(long Position)\r
+void offsetScreenUpload(int Position)\r
 {\r
  if(bDisplayNotSet)\r
   SetOGLDisplaySettings(1);\r
 \r
  if(Position==-1)\r
   {\r
-   long lmdx,lmdy;\r
+   int lmdx,lmdy;\r
 \r
    lmdx=xrUploadArea.x0;\r
    lmdy=xrUploadArea.y0;\r