57871462 |
1 | #define NEW_DYNAREC 1 |
2 | |
3 | extern int pcaddr; |
4 | extern int pending_exception; |
69af03a2 |
5 | extern int stop; |
2f546f9a |
6 | extern int new_dynarec_did_compile; |
2573466a |
7 | extern int cycle_multiplier; // 100 for 1.0 |
a3203cf4 |
8 | extern int cycle_multiplier_override; |
7139f3c8 |
9 | |
0ff8c62c |
10 | #define NDHACK_NO_SMC_CHECK (1<<0) |
11 | #define NDHACK_GTE_UNNEEDED (1<<1) |
12 | #define NDHACK_GTE_NO_FLAGS (1<<2) |
a3203cf4 |
13 | #define NDHACK_OVERRIDE_CYCLE_M (1<<3) |
81dbbf4c |
14 | #define NDHACK_GTE_NO_STALL (1<<4) |
0ff8c62c |
15 | extern int new_dynarec_hacks; |
d62c125a |
16 | extern int new_dynarec_hacks_pergame; |
0ff8c62c |
17 | |
919981d0 |
18 | void new_dynarec_init(void); |
19 | void new_dynarec_cleanup(void); |
20 | void new_dynarec_clear_full(void); |
be516ebe |
21 | void new_dyna_start(void *context); |
03f55e6b |
22 | int new_dynarec_save_blocks(void *save, int size); |
23 | void new_dynarec_load_blocks(const void *save, int size); |
4b421010 |
24 | |
919981d0 |
25 | void invalidate_all_pages(void); |
4b421010 |
26 | void invalidate_block(unsigned int block); |