X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=deps%2Flightrec%2Fblockcache.h;h=3859fb8eaf54fcaff4b6cf66322393a90f4b37ec;hb=1f8c6be323aa8fad329e38682158197e822d27c1;hp=2e55ff657f94636d49de29e3fc01ee18e40e5afa;hpb=473f5cc63f9942866e01c7c84d151e8157cdb6ee;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);