#define ROR_33(A, C) (LSR_32(A, C) | LSL_32(A, 33-(C)))\r
\r
#ifndef FAMEC_NO_GOTOS\r
-#define NEXT do { \\r
+#define NEXT { \\r
FETCH_WORD(Opcode); \\r
goto *JumpTable[Opcode]; \\r
}\r
case fm68k_reason_emulate:\r
break;\r
}\r
+ PC = ctx->PC;\r
+ BasePC = ctx->BasePC;\r
#endif // FAMEC_NO_GOTOS\r
\r
// won't emulate double fault\r
famec_End:\r
ctx->sr = GET_SR;\r
ctx->pc = GET_PC;\r
+#ifndef FAMEC_NO_GOTOS\r
+ ctx->PC = PC;\r
+ ctx->BasePC = BasePC;\r
+#endif\r
\r
ctx->execinfo &= ~M68K_RUNNING;\r
\r