From 4b80be4bd940b2fff006c24b90328be523cdd06a Mon Sep 17 00:00:00 2001 From: Banny Date: Mon, 24 Oct 2022 06:04:10 +0800 Subject: [PATCH] backend/arm64/a32_address_space: Protect code memory at end of prologue emission (#712) Bug fix --- src/dynarmic/backend/arm64/a32_address_space.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dynarmic/backend/arm64/a32_address_space.cpp b/src/dynarmic/backend/arm64/a32_address_space.cpp index 686a45d5..25ac3c58 100644 --- a/src/dynarmic/backend/arm64/a32_address_space.cpp +++ b/src/dynarmic/backend/arm64/a32_address_space.cpp @@ -220,6 +220,7 @@ void A32AddressSpace::EmitPrelude() { prelude_info.end_of_prelude = code.ptr(); mem.invalidate_all(); + mem.protect(); } size_t A32AddressSpace::GetRemainingSize() {