summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authormerry <git@mary.rs>2022-03-27 16:37:19 +0200
committermerry <git@mary.rs>2022-03-27 16:37:19 +0200
commit1383441b1520f3fca5dc5868240ee21a5308d2cf (patch)
treef5a55ad4885ae59f14e07c74bbee70a18cd28c5f /src/core
parentexternals: Update dynarmic (diff)
downloadyuzu-1383441b1520f3fca5dc5868240ee21a5308d2cf.tar
yuzu-1383441b1520f3fca5dc5868240ee21a5308d2cf.tar.gz
yuzu-1383441b1520f3fca5dc5868240ee21a5308d2cf.tar.bz2
yuzu-1383441b1520f3fca5dc5868240ee21a5308d2cf.tar.lz
yuzu-1383441b1520f3fca5dc5868240ee21a5308d2cf.tar.xz
yuzu-1383441b1520f3fca5dc5868240ee21a5308d2cf.tar.zst
yuzu-1383441b1520f3fca5dc5868240ee21a5308d2cf.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic_64.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic_64.cpp b/src/core/arm/dynarmic/arm_dynarmic_64.cpp
index d96226c41..24107f9f6 100644
--- a/src/core/arm/dynarmic/arm_dynarmic_64.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic_64.cpp
@@ -93,17 +93,19 @@ public:
static constexpr u64 ICACHE_LINE_SIZE = 64;
const u64 cache_line_start = value & ~(ICACHE_LINE_SIZE - 1);
- parent.InvalidateCacheRange(cache_line_start, ICACHE_LINE_SIZE);
+ parent.system.InvalidateCpuInstructionCacheRange(cache_line_start, ICACHE_LINE_SIZE);
break;
}
case Dynarmic::A64::InstructionCacheOperation::InvalidateAllToPoU:
- parent.ClearInstructionCache();
+ parent.system.InvalidateCpuInstructionCaches();
break;
case Dynarmic::A64::InstructionCacheOperation::InvalidateAllToPoUInnerSharable:
default:
LOG_DEBUG(Core_ARM, "Unprocesseed instruction cache operation: {}", op);
break;
}
+
+ parent.jit->HaltExecution();
}
void ExceptionRaised(u64 pc, Dynarmic::A64::Exception exception) override {