CPU/CodeCache: Always compute uncached fetch ticks

Running code out of uncached ROM is slowwww.
This commit is contained in:
Connor McLaughlin 2023-01-11 18:21:48 +10:00
parent 6a7407565a
commit 05eea3cd2b
1 changed files with 1 additions and 1 deletions

View File

@ -706,9 +706,9 @@ bool CompileBlock(CodeBlock* block, bool allow_flush)
block->icache_line_count++; block->icache_line_count++;
last_cache_line = icache_line; last_cache_line = icache_line;
} }
block->uncached_fetch_ticks += GetInstructionReadTicks(pc);
} }
block->uncached_fetch_ticks += GetInstructionReadTicks(pc);
block->contains_loadstore_instructions |= cbi.is_load_instruction; block->contains_loadstore_instructions |= cbi.is_load_instruction;
block->contains_loadstore_instructions |= cbi.is_store_instruction; block->contains_loadstore_instructions |= cbi.is_store_instruction;