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.13 by gbeauche, 2004-11-01T16:01:51Z vs.
Revision 1.16 by gbeauche, 2006-01-15T22:42:51Z

# Line 282 | Line 282 | extern struct cputbl op_smalltbl_3_ff[];
282   extern struct cputbl op_smalltbl_4_ff[];
283  
284   #if FLIGHT_RECORDER
285 < extern void m68k_record_step(uaecptr);
285 > extern void m68k_record_step(uaecptr) REGPARAM;
286   #endif
287   extern void m68k_do_execute(void);
288   extern void m68k_execute(void);
289   #if USE_JIT
290 #if defined(X86_ASSEMBLY) || defined(X86_64_ASSEMBLY)
291 /* This is generated code */
292 extern void (*m68k_compile_execute)(void);
293 #else
294 extern void m68k_do_compile_execute(void);
290   extern void m68k_compile_execute(void);
291   #endif
292 + #ifdef USE_CPU_EMUL_SERVICES
293 + extern int32 emulated_ticks;
294 + extern void cpu_do_check_ticks(void);
295 +
296 + static inline void cpu_check_ticks(void)
297 + {
298 +        if (--emulated_ticks <= 0)
299 +                cpu_do_check_ticks();
300 + }
301 + #else
302 + #define cpu_check_ticks()
303 + #define cpu_do_check_ticks()
304   #endif
305  
306   #endif /* NEWCPU_H */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines