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) |
0ff8c62c |
14 | extern int new_dynarec_hacks; |
d62c125a |
15 | extern int new_dynarec_hacks_pergame; |
0ff8c62c |
16 | |
919981d0 |
17 | void new_dynarec_init(void); |
18 | void new_dynarec_cleanup(void); |
19 | void new_dynarec_clear_full(void); |
be516ebe |
20 | void new_dyna_start(void *context); |
03f55e6b |
21 | int new_dynarec_save_blocks(void *save, int size); |
22 | void new_dynarec_load_blocks(const void *save, int size); |
4b421010 |
23 | |
919981d0 |
24 | void invalidate_all_pages(void); |
4b421010 |
25 | void invalidate_block(unsigned int block); |