From 32ccde667daf3e353e855b608bd457ff075e2194 Mon Sep 17 00:00:00 2001 From: arcum42 Date: Thu, 20 Nov 2008 01:28:33 +0000 Subject: [PATCH] Fix compiling on Linux. git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@347 a6443dda-0b58-4228-96e9-037be469359c --- pcsx2/PS2Etypes.h | 1 + pcsx2/PsxCounters.h | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pcsx2/PS2Etypes.h b/pcsx2/PS2Etypes.h index 05230979bb..dd32ae150b 100644 --- a/pcsx2/PS2Etypes.h +++ b/pcsx2/PS2Etypes.h @@ -89,6 +89,7 @@ typedef union _LARGE_INTEGER long long QuadPart; } LARGE_INTEGER; #define _inline __inline__ __attribute__((unused)) +#define __fastcall __attribute__((fastcall)) #endif #if defined(__MINGW32__) diff --git a/pcsx2/PsxCounters.h b/pcsx2/PsxCounters.h index 4625f2c0bc..41b831e6c6 100644 --- a/pcsx2/PsxCounters.h +++ b/pcsx2/PsxCounters.h @@ -55,9 +55,9 @@ int psxRcntFreeze(gzFile f, int Mode); void psxVBlankStart(); void psxVBlankEnd(); -void psxCheckStartGate16(int counter); -void psxCheckEndGate16(int counter); -void psxCheckStartGate32(int counter); -void psxCheckEndGate32(int counter); +void psxCheckStartGate16(int i); +void psxCheckEndGate16(int i); +static void psxCheckStartGate32(int i); +static void psxCheckEndGate32(int i); #endif /* __PSXCOUNTERS_H__ */