notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d602fd4
)
drc: do lit check before size_nolit is cleared
author
notaz
<notasas@gmail.com>
Sun, 3 Dec 2017 15:39:59 +0000
(17:39 +0200)
committer
notaz
<notasas@gmail.com>
Sun, 3 Dec 2017 15:44:33 +0000
(17:44 +0200)
cpu/sh2/compiler.c
patch
|
blob
|
blame
|
history
diff --git
a/cpu/sh2/compiler.c
b/cpu/sh2/compiler.c
index
0e8b65b
..
e18f43c
100644
(file)
--- a/
cpu/sh2/compiler.c
+++ b/
cpu/sh2/compiler.c
@@
-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;