#ifndef USE_SH2DRC\r
\r
/* speed up delay loops, bail out of tight loops */\r
-#define BUSY_LOOP_HACKS 1\r
+//#define BUSY_LOOP_HACKS 1\r
\r
#define VERBOSE 0\r
\r
*/\r
INLINE void BFS(sh2_state *sh2, UINT32 d)\r
{\r
+ sh2->delay = sh2->pc;\r
+ sh2->pc += 2;\r
+\r
if ((sh2->sr & T) == 0)\r
{\r
INT32 disp = ((INT32)d << 24) >> 24;\r
- sh2->delay = sh2->pc;\r
- sh2->pc = sh2->ea = sh2->pc + disp * 2 + 2;\r
+ sh2->pc = sh2->ea = sh2->pc + disp * 2;\r
sh2->icount--;\r
}\r
}\r
*/\r
INLINE void BTS(sh2_state *sh2, UINT32 d)\r
{\r
+ sh2->delay = sh2->pc;\r
+ sh2->pc += 2;\r
+\r
if ((sh2->sr & T) != 0)\r
{\r
INT32 disp = ((INT32)d << 24) >> 24;\r
- sh2->delay = sh2->pc;\r
- sh2->pc = sh2->ea = sh2->pc + disp * 2 + 2;\r
+ sh2->pc = sh2->ea = sh2->pc + disp * 2;\r
sh2->icount--;\r
}\r
}\r