drop some unnecessary inlines

apparently somebody compiles with msvc?
This commit is contained in:
notaz 2017-10-13 23:49:13 +03:00
parent b5f5dc1fad
commit e9a11abb3c
7 changed files with 8 additions and 7 deletions

View file

@ -108,6 +108,7 @@
//#include "debugger.h"
//#include "sh2.h"
//#include "sh2comn.h"
#undef INLINE
#define INLINE static
//CPU_DISASSEMBLE( sh2 );

View file

@ -21,7 +21,7 @@ typedef unsigned char UINT8;
// 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; \
@ -32,7 +32,7 @@ static inline unsigned int name(SH2 *sh2, unsigned int a) \
}
#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); \