diff --git a/SheepShaver/src/kpx_cpu/src/cpu/jit/dyngen-exec.h b/SheepShaver/src/kpx_cpu/src/cpu/jit/dyngen-exec.h index 8c12fe6b..bf772a58 100644 --- a/SheepShaver/src/kpx_cpu/src/cpu/jit/dyngen-exec.h +++ b/SheepShaver/src/kpx_cpu/src/cpu/jit/dyngen-exec.h @@ -61,7 +61,11 @@ #endif // Force only one return point +#if defined(__i386__) || defined(__x86_64__) +#define dyngen_barrier() asm volatile ("nop") +#else #define dyngen_barrier() asm volatile ("") +#endif #ifndef OPPROTO #define OPPROTO