From fa35e79c3fe4d7310f5f6bdcaa3f87f3ab42e57e Mon Sep 17 00:00:00 2001 From: Stefanos Kornilios Mitsis Poiitidis Date: Fri, 18 Dec 2020 12:20:33 +0200 Subject: [PATCH] arm64: Fix lr pushing --- External/FEXCore/Source/Interface/Core/JIT/Arm64/JIT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/External/FEXCore/Source/Interface/Core/JIT/Arm64/JIT.cpp b/External/FEXCore/Source/Interface/Core/JIT/Arm64/JIT.cpp index 00512c1c8..4c515c9d9 100644 --- a/External/FEXCore/Source/Interface/Core/JIT/Arm64/JIT.cpp +++ b/External/FEXCore/Source/Interface/Core/JIT/Arm64/JIT.cpp @@ -1322,7 +1322,7 @@ void JITCore::PushDynamicRegsAndLR() { } #endif - str(lr, MemOperand(sp, RA64.size() * 8 + 0 * 8)); + str(lr, MemOperand(sp, i * 8 + 0 * 8)); } void JITCore::PopDynamicRegsAndLR() {