mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
88ea5fb921
commit
e6162687c1
|
@ -20,6 +20,7 @@
|
|||
|
||||
#if defined (__linux__) && !defined(__LINUX__) // some distributions are lower case
|
||||
#define __LINUX__
|
||||
#define _inline __inline__
|
||||
#endif
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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__ */
|
||||
|
|
Loading…
Reference in New Issue