1 #ifndef __NEW_DYNAREC_H__
2 #define __NEW_DYNAREC_H__
4 /* #define NEW_DYNAREC 1 */
7 extern int pending_exception;
9 extern int new_dynarec_did_compile;
10 extern int cycle_multiplier; // 100 for 1.0
12 #define NDHACK_NO_SMC_CHECK (1<<0)
13 #define NDHACK_GTE_UNNEEDED (1<<1)
14 #define NDHACK_GTE_NO_FLAGS (1<<2)
15 extern int new_dynarec_hacks;
17 void new_dynarec_init(void);
18 void new_dynarec_cleanup(void);
19 void new_dynarec_clear_full(void);
20 void new_dyna_start(void);
21 int new_dynarec_save_blocks(void *save, int size);
22 void new_dynarec_load_blocks(const void *save, int size);
24 void invalidate_all_pages(void);
25 void invalidate_block(unsigned int block);
27 #endif /* __NEW_DYNAREC_H__ */