notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge several fixes from PCSX Redux and adjust delay for SetLocPending.
[pcsx_rearmed.git]
/
deps
/
lightrec
/
blockcache.c
diff --git
a/deps/lightrec/blockcache.c
b/deps/lightrec/blockcache.c
index
833a8e1
..
4263431
100644
(file)
--- a/
deps/lightrec/blockcache.c
+++ b/
deps/lightrec/blockcache.c
@@
-60,12
+60,6
@@
void remove_from_code_lut(struct blockcache *cache, struct block *block)
}
}
-void lightrec_mark_for_recompilation(struct blockcache *cache,
- struct block *block)
-{
- block->flags |= BLOCK_SHOULD_RECOMPILE;
-}
-
void lightrec_register_block(struct blockcache *cache, struct block *block)
{
u32 pc = kunseg(block->pc);
void lightrec_register_block(struct blockcache *cache, struct block *block)
{
u32 pc = kunseg(block->pc);
@@
-85,8
+79,6
@@
void lightrec_unregister_block(struct blockcache *cache, struct block *block)
u32 pc = kunseg(block->pc);
struct block *old = cache->lut[(pc >> 2) & (LUT_SIZE - 1)];
u32 pc = kunseg(block->pc);
struct block *old = cache->lut[(pc >> 2) & (LUT_SIZE - 1)];
- remove_from_code_lut(cache, block);
-
if (old == block) {
cache->lut[(pc >> 2) & (LUT_SIZE - 1)] = old->next;
return;
if (old == block) {
cache->lut[(pc >> 2) & (LUT_SIZE - 1)] = old->next;
return;