notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drop some unnecessary inlines
[picodrive.git]
/
cpu
/
sh2
/
mame
/
sh2pico.c
diff --git
a/cpu/sh2/mame/sh2pico.c
b/cpu/sh2/mame/sh2pico.c
index
174d469
..
636ebc6
100644
(file)
--- a/
cpu/sh2/mame/sh2pico.c
+++ b/
cpu/sh2/mame/sh2pico.c
@@
-21,7
+21,7
@@
typedef unsigned char UINT8;
// 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; \
@@
-32,7
+32,7
@@
static inline unsigned int name(SH2 *sh2, unsigned int a) \
}
#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); \