drc: revive x86 dynarec, support x86-64
[picodrive.git] / cpu / sh2 / sh2.h
index 49695b1..407270f 100644 (file)
@@ -88,7 +88,7 @@ void sh2_unpack(SH2 *sh2, const unsigned char *buff);
 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
 {\r
   int ret;\r
 \r
@@ -118,7 +118,7 @@ void REGPARM(3) p32x_sh2_write32(unsigned int a, unsigned int d, SH2 *sh2);
 // debug\r
 #ifdef DRC_CMP\r
 void do_sh2_trace(SH2 *current, int cycles);\r
-void do_sh2_cmp(SH2 *current);\r
+void REGPARM(1) do_sh2_cmp(SH2 *current);\r
 #endif\r
 \r
 #endif /* __SH2_H__ */\r