mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
drc: do lit check before size_nolit is cleared
This commit is contained in:
parent
d602fd4f73
commit
00468b0a9b
1 changed files with 1 additions and 1 deletions
|
@ -3121,9 +3121,9 @@ static void sh2_smc_rm_blocks(u32 a, u16 *drc_ram_blk, int tcache_id, u32 shift,
|
|||
if (to < end_addr)
|
||||
to = end_addr;
|
||||
|
||||
sh2_smc_rm_block(block, tcache_id, mask);
|
||||
if (a >= start_addr + block->size_nolit)
|
||||
literal_disabled_frames = 3;
|
||||
sh2_smc_rm_block(block, tcache_id, mask);
|
||||
|
||||
// entry lost, restart search
|
||||
entry = *blist;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue