mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
DRC: reworked scan_block (fix register usage masks, better block and literals detection)
This commit is contained in:
parent
32feba7458
commit
b804d9543b
3 changed files with 162 additions and 85 deletions
|
@ -5,7 +5,7 @@ typedef signed short s16;
|
|||
typedef unsigned int u32;
|
||||
typedef signed int s32;
|
||||
|
||||
#define DRC_TCACHE_SIZE (2*1024*1024)
|
||||
#define DRC_TCACHE_SIZE (4*1024*1024)
|
||||
|
||||
extern u8 *tcache;
|
||||
|
||||
|
|
|
@ -686,7 +686,7 @@ enum { xAX = 0, xCX, xDX, xBX, xSP, xBP, xSI, xDI };
|
|||
case 0: rd = xDI; break; \
|
||||
case 1: rd = xSI; break; \
|
||||
case 2: rd = xDX; break; \
|
||||
case 2: rd = xBX; break; \
|
||||
case 3: rd = xBX; break; \
|
||||
}
|
||||
|
||||
#define emith_sh2_drc_entry() { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue