mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sh2 drc, improve cycle resolution for poll detection
This commit is contained in:
parent
192ab01579
commit
b4c25401da
2 changed files with 33 additions and 2 deletions
|
@ -437,7 +437,7 @@ static u32 literal_pool[MAX_HOST_LITERALS];
|
|||
static u32 *literal_insn[MAX_HOST_LITERALS];
|
||||
static int literal_pindex, literal_iindex;
|
||||
|
||||
static int emith_pool_literal(u32 imm, int *offs)
|
||||
static inline int emith_pool_literal(u32 imm, int *offs)
|
||||
{
|
||||
int idx = literal_pindex - 8; // max look behind in pool
|
||||
// see if one of the last literals was the same (or close enough)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue