From 8c7282046bb9cd8a05dbbff927d4a17cb09e4222 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Wed, 12 May 2021 13:23:40 +1000 Subject: [PATCH] CPU/CodeCache: Re-enable interpreter fallback heuristic --- src/core/cpu_code_cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/cpu_code_cache.cpp b/src/core/cpu_code_cache.cpp index 99d43f80d..e0e4892fb 100644 --- a/src/core/cpu_code_cache.cpp +++ b/src/core/cpu_code_cache.cpp @@ -500,7 +500,7 @@ recompile: { block->recompile_count++; - if (block->recompile_count >= RECOMPILE_COUNT_TO_FALL_BACK_TO_INTERPRETER&&false) + if (block->recompile_count >= RECOMPILE_COUNT_TO_FALL_BACK_TO_INTERPRETER) { Log_PerfPrintf("Block 0x%08X has been recompiled %u times in %u frames, falling back to interpreter", block->GetPC(), block->recompile_count, frame_diff);