Make SMCCheck=Fast work on arm64

The issue is that flushing the dynarec cache makes rewriting fail for
the currently executing block. So this avoids flushing the cache too
often but the problem remains.
This commit is contained in:
Flyinghead 2019-05-28 19:40:30 +02:00
parent 51cf6cf271
commit 8cb86de026
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ void CCN_CCR_write(u32 addr, u32 value)
if (temp.ICI) {
printf_smc("Sh4: i-cache invalidation %08X\n",curr_pc);
if (settings.dynarec.SmcCheckLevel != FullCheck) {
if (settings.dynarec.SmcCheckLevel == NoCheck) {
//TODO: Add skip/check vectors for Shikigami No Shiro II (uses ICI frequently)
//which game is 0xAC13DBF8 from ?
if (curr_pc != 0xAC13DBF8)