ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/uae_cpu/newcpu.h
(Generate patch)

Comparing BasiliskII/src/uae_cpu/newcpu.h (file contents):
Revision 1.14 by gbeauche, 2005-06-04T16:47:14Z vs.
Revision 1.15 by gbeauche, 2005-06-11T06:43:24Z

# 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 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines