One more inline hint and (hopefully) fixed Linux (again :p)

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@151 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
ramapcsx2 2008-09-26 15:06:51 +00:00 committed by Gregory Hainaut
parent 88ea5fb921
commit e6162687c1
3 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@
#if defined (__linux__) && !defined(__LINUX__) // some distributions are lower case
#define __LINUX__
#define _inline __inline__
#endif
#ifdef __CYGWIN__

View File

@ -362,7 +362,7 @@ void _cpuTestInterrupts() {
u32 s_iLastCOP0Cycle = 0;
u32 s_iLastPERFCycle[2] = {0,0};
static void _cpuTestTIMR() {
_inline static void _cpuTestTIMR() {
cpuRegs.CP0.n.Count += cpuRegs.cycle-s_iLastCOP0Cycle;
s_iLastCOP0Cycle = cpuRegs.cycle;

View File

@ -45,7 +45,7 @@ extern void sif0Interrupt();
extern void EEsif1Interrupt();
extern void EEsif0Interrupt();
extern int EEsif2Interrupt();
extern int sifFreeze(gzFile f, int Mode);
int sifFreeze(gzFile f, int Mode);
#endif /* __SIF_H__ */