X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Fsh2%2Fsh2.h;h=407270f1111183878cf705de7ea0284892d2b9dd;hb=898d51a7fd1c090799ac88869fa0daf096fd702f;hp=49695b1e415a086cf6a785a52065abc3768a71e1;hpb=bce144211cd70e1be78b7c1b7424fb4609de1ac8;p=picodrive.git diff --git a/cpu/sh2/sh2.h b/cpu/sh2/sh2.h index 49695b1..407270f 100644 --- a/cpu/sh2/sh2.h +++ b/cpu/sh2/sh2.h @@ -88,7 +88,7 @@ void sh2_unpack(SH2 *sh2, const unsigned char *buff); int sh2_execute_drc(SH2 *sh2c, int cycles); int sh2_execute_interpreter(SH2 *sh2c, int cycles); -static inline int sh2_execute(SH2 *sh2, int cycles, int use_drc) +static __inline int sh2_execute(SH2 *sh2, int cycles, int use_drc) { int ret; @@ -118,7 +118,7 @@ void REGPARM(3) p32x_sh2_write32(unsigned int a, unsigned int d, SH2 *sh2); // debug #ifdef DRC_CMP void do_sh2_trace(SH2 *current, int cycles); -void do_sh2_cmp(SH2 *current); +void REGPARM(1) do_sh2_cmp(SH2 *current); #endif #endif /* __SH2_H__ */