git subrepo pull --force deps/lightrec
[pcsx_rearmed.git] / deps / lightrec / blockcache.h
index 3b782f4..3859fb8 100644 (file)
@@ -21,7 +21,12 @@ 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);
 
+void lightrec_remove_outdated_blocks(struct blockcache *cache,
+                                    const struct block *except);
+
 #endif /* __BLOCKCACHE_H__ */