mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
drc: lots of new debug code
This commit is contained in:
parent
d3524932fa
commit
00faec9cdb
10 changed files with 399 additions and 153 deletions
|
@ -5,3 +5,11 @@ void sh2_drc_flush_all(void);
|
|||
void sh2_drc_wcheck_ram(unsigned int a, int val, int cpuid);
|
||||
void sh2_drc_wcheck_da(unsigned int a, int val, int cpuid);
|
||||
|
||||
#define BLOCK_CYCLE_LIMIT 128
|
||||
|
||||
#define OP_FLAGS(pc) op_flags[((pc) - (base_pc)) / 2]
|
||||
#define OF_DELAY_OP (1 << 0)
|
||||
#define OF_TARGET (1 << 1)
|
||||
|
||||
void scan_block(unsigned int base_pc, int is_slave,
|
||||
unsigned char *op_flags, unsigned int *end_pc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue