# | Line 295 | Line 295 | extern void m68k_do_compile_execute(void | |
---|---|---|
295 | extern void m68k_compile_execute(void); | |
296 | #endif | |
297 | #endif | |
298 | + | #ifdef USE_CPU_EMUL_SERVICES |
299 | + | extern int32 emulated_ticks; |
300 | + | extern void cpu_do_check_ticks(void); |
301 | + | |
302 | + | static inline void cpu_check_ticks(void) |
303 | + | { |
304 | + | if (--emulated_ticks <= 0) |
305 | + | cpu_do_check_ticks(); |
306 | + | } |
307 | + | #else |
308 | + | #define cpu_check_ticks() |
309 | + | #define cpu_do_check_ticks() |
310 | + | #endif |
311 | ||
312 | #endif /* NEWCPU_H */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |