apparently somebody compiles with msvc?
-static inline int pdb_net_connect(const char *host, const char *port) {return 0;}
+static __inline int pdb_net_connect(const char *host, const char *port) {return 0;}
reg_temp[i].flags &= ~HRF_LOCKED;
}
reg_temp[i].flags &= ~HRF_LOCKED;
}
-static inline u32 rcache_used_hreg_mask(void)
+static u32 rcache_used_hreg_mask(void)
//#include "debugger.h"\r
//#include "sh2.h"\r
//#include "sh2comn.h"\r
//#include "debugger.h"\r
//#include "sh2.h"\r
//#include "sh2comn.h"\r
#define INLINE static\r
\r
//CPU_DISASSEMBLE( sh2 );\r
#define INLINE static\r
\r
//CPU_DISASSEMBLE( sh2 );\r
// this nasty conversion is needed for drc-expecting memhandlers
#define MAKE_READFUNC(name, cname) \
// this nasty conversion is needed for drc-expecting memhandlers
#define MAKE_READFUNC(name, cname) \
-static inline unsigned int name(SH2 *sh2, unsigned int a) \
+static __inline unsigned int name(SH2 *sh2, unsigned int a) \
{ \
unsigned int ret; \
sh2->sr |= sh2->icount << 12; \
{ \
unsigned int ret; \
sh2->sr |= sh2->icount << 12; \
}
#define MAKE_WRITEFUNC(name, cname) \
}
#define MAKE_WRITEFUNC(name, cname) \
-static inline void name(SH2 *sh2, unsigned int a, unsigned int d) \
+static __inline void name(SH2 *sh2, unsigned int a, unsigned int d) \
{ \
sh2->sr |= sh2->icount << 12; \
cname(a, d, sh2); \
{ \
sh2->sr |= sh2->icount << 12; \
cname(a, d, sh2); \
int sh2_execute_drc(SH2 *sh2c, int cycles);\r
int sh2_execute_interpreter(SH2 *sh2c, int cycles);\r
\r
int sh2_execute_drc(SH2 *sh2c, int cycles);\r
int sh2_execute_interpreter(SH2 *sh2c, int cycles);\r
\r
-static inline int sh2_execute(SH2 *sh2, int cycles, int use_drc)\r
+static __inline int sh2_execute(SH2 *sh2, int cycles, int use_drc)\r
oldest, event_time_next);
}
oldest, event_time_next);
}
-static inline void run_sh2(SH2 *sh2, int m68k_cycles)
+static void run_sh2(SH2 *sh2, int m68k_cycles)
-static inline void SekRunM68k(int cyc)
+static __inline void SekRunM68k(int cyc)
{
Pico.t.m68c_aim += cyc;
cyc = Pico.t.m68c_aim - Pico.t.m68c_cnt;
{
Pico.t.m68c_aim += cyc;
cyc = Pico.t.m68c_aim - Pico.t.m68c_cnt;