CPU/CodeCache: Always compute uncached fetch ticks
Running code out of uncached ROM is slowwww.
This commit is contained in:
parent
6a7407565a
commit
05eea3cd2b
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue