From 899d61bc7dd093393aafcd88c4f072ff879228a7 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 30 Sep 2023 17:32:51 +0200 Subject: Jit64: Recompile asm routines on cache clear This is needed so that the checks added in the previous commit will be reevaluated if the value of m_enable_dcache changes. JitArm64 was already recompiling its asm routines on cache clear by necessity. It doesn't have the same setup as Jit64 where the asm routines are in a separate region, so clearing the JitArm64 cache results in the asm routines being cleared too. --- Source/Core/VideoCommon/VertexLoaderARM64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/VertexLoaderARM64.cpp') diff --git a/Source/Core/VideoCommon/VertexLoaderARM64.cpp b/Source/Core/VideoCommon/VertexLoaderARM64.cpp index 03bb82d5c2..12b6b1d79a 100644 --- a/Source/Core/VideoCommon/VertexLoaderARM64.cpp +++ b/Source/Core/VideoCommon/VertexLoaderARM64.cpp @@ -56,7 +56,7 @@ VertexLoaderARM64::VertexLoaderARM64(const TVtxDesc& vtx_desc, const VAT& vtx_at const Common::ScopedJITPageWriteAndNoExecute enable_jit_page_writes; ClearCodeSpace(); GenerateVertexLoader(); - WriteProtect(); + WriteProtect(true); } // Returns the register to use as the base and an offset from that register. -- cgit v1.2.3