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.12 by gbeauche, 2002-11-02T18:13:27Z vs.
Revision 1.15 by gbeauche, 2005-06-11T06:43:24Z

# 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 < #ifdef X86_ASSEMBLY
290 > #if defined(X86_ASSEMBLY) || defined(X86_64_ASSEMBLY)
291   /* This is generated code */
292   extern void (*m68k_compile_execute)(void);
293   #else
# 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