X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=deps%2Flightrec%2Fblockcache.h;h=3859fb8eaf54fcaff4b6cf66322393a90f4b37ec;hb=3e80e5c25edcf850f603cf0948e1cc16dc38e98d;hp=2e55ff657f94636d49de29e3fc01ee18e40e5afa;hpb=d8b04acd965a598d4f952fe15a613582ff685d43;p=pcsx_rearmed.git diff --git a/deps/lightrec/blockcache.h b/deps/lightrec/blockcache.h index 2e55ff65..3859fb8e 100644 --- a/deps/lightrec/blockcache.h +++ b/deps/lightrec/blockcache.h @@ -21,6 +21,8 @@ void lightrec_unregister_block(struct blockcache *cache, struct block *block); struct blockcache * lightrec_blockcache_init(struct lightrec_state *state); void lightrec_free_block_cache(struct blockcache *cache); +void lightrec_free_all_blocks(struct blockcache *cache); + u32 lightrec_calculate_block_hash(const struct block *block); _Bool lightrec_block_is_outdated(struct lightrec_state *state, struct block *block);