mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
add xSR/RTS call stack cache to sh2 drc
This commit is contained in:
parent
e43998086c
commit
9e36dd0e08
4 changed files with 192 additions and 22 deletions
|
@ -52,6 +52,8 @@ typedef struct SH2_
|
|||
int poll_cnt;
|
||||
|
||||
// DRC branch cache. size must be 2^n and <=128
|
||||
int rts_cache_idx;
|
||||
struct { unsigned int pc; void *code; } rts_cache[16];
|
||||
struct { unsigned int pc; void *code; } branch_cache[128];
|
||||
|
||||
// interpreter stuff
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue