Add header guards
[pcsx_rearmed.git] / libpcsxcore / new_dynarec / new_dynarec.h
1 #ifndef __NEW_DYNAREC_H__
2 #define __NEW_DYNAREC_H__
3
4 /* #define NEW_DYNAREC 1 */
5
6 extern int pcaddr;
7 extern int pending_exception;
8 extern int stop;
9 extern int new_dynarec_did_compile;
10 extern int cycle_multiplier; // 100 for 1.0
11
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;
16
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);
23
24 void invalidate_all_pages(void);
25 void invalidate_block(unsigned int block);
26
27 #endif /* __NEW_DYNAREC_H__ */