X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=deps%2Flightrec%2Fblockcache.h;h=2e55ff657f94636d49de29e3fc01ee18e40e5afa;hb=e2fb1389dc12376acb84e4993ed3b08760257252;hp=3b782f47909be6f0e9016e3144e886bc329e9314;hpb=47e92264b0bcdd851e8b0973cd5036cc6ca8e4ba;p=pcsx_rearmed.git diff --git a/deps/lightrec/blockcache.h b/deps/lightrec/blockcache.h index 3b782f47..2e55ff65 100644 --- a/deps/lightrec/blockcache.h +++ b/deps/lightrec/blockcache.h @@ -24,4 +24,7 @@ void lightrec_free_block_cache(struct blockcache *cache); u32 lightrec_calculate_block_hash(const struct block *block); _Bool lightrec_block_is_outdated(struct lightrec_state *state, struct block *block); +void lightrec_remove_outdated_blocks(struct blockcache *cache, + const struct block *except); + #endif /* __BLOCKCACHE_H__ */