Adjust for changes in lightrec api

Enable lightrec OPT_REPLACE_MEMSET
This commit is contained in:
Zachary Cook 2021-05-16 21:32:25 -04:00
parent a388aacc8f
commit 4b83d86881
2 changed files with 1 additions and 3 deletions

View File

@ -11,6 +11,7 @@
#define ENABLE_TINYMM 0
#define OPT_REMOVE_DIV_BY_ZERO_SEQ 1
#define OPT_REPLACE_MEMSET 1
#define OPT_DETECT_IMPOSSIBLE_BRANCHES 1
#define OPT_TRANSFORM_OPS 1
#define OPT_LOCAL_BRANCHES 1

View File

@ -3963,9 +3963,6 @@ void PS_CPU::lightrec_plugin_clear(u32 addr, u32 size)
void PS_CPU::lightrec_plugin_shutdown(void)
{
log_cb(RETRO_LOG_INFO,"Lightrec memory usage: %u KiB, average IPI: %.2f\n",
lightrec_get_total_mem_usage()/1024,
lightrec_get_average_ipi());
lightrec_destroy(lightrec_state);
}