From 4c3d243672932c0746fdf2d449be75813101dd0b Mon Sep 17 00:00:00 2001 From: Megamouse Date: Mon, 23 Sep 2024 21:52:19 +0200 Subject: [PATCH] MacOs/Arm64: Fix warning --- rpcs3/Emu/CPU/Backends/AArch64/AArch64Signal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/CPU/Backends/AArch64/AArch64Signal.cpp b/rpcs3/Emu/CPU/Backends/AArch64/AArch64Signal.cpp index 7beea61ccb..48b651d1a3 100644 --- a/rpcs3/Emu/CPU/Backends/AArch64/AArch64Signal.cpp +++ b/rpcs3/Emu/CPU/Backends/AArch64/AArch64Signal.cpp @@ -3,8 +3,6 @@ namespace aarch64 { - constexpr u32 ESR_CTX_MAGIC = 0x45535201; - // Some of the EC codes we care about enum class EL1_exception_class { @@ -23,6 +21,8 @@ namespace aarch64 }; #ifdef __linux__ + constexpr u32 ESR_CTX_MAGIC = 0x45535201; + const aarch64_esr_ctx* find_EL1_esr_context(const ucontext_t* ctx) { u32 offset = 0;