aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRSDuck <RSDuck@users.noreply.github.com>2020-07-08 23:57:43 +0200
committerRSDuck <RSDuck@users.noreply.github.com>2020-07-08 23:57:43 +0200
commit1519b3d5fa639b1e29598d29cf7e0bdaa2c166c4 (patch)
tree76a17cc49886fd0ccd1de2b985f05ebb8c2cd711
parent8f5d8d1e125511e3420ffec991e6a6b0a7441d31 (diff)
attempt at fixing aarch64 linux yet again
-rw-r--r--src/ARMJIT_Memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ARMJIT_Memory.cpp b/src/ARMJIT_Memory.cpp
index 936864d..ec83905 100644
--- a/src/ARMJIT_Memory.cpp
+++ b/src/ARMJIT_Memory.cpp
@@ -145,7 +145,7 @@ static void SigsegvHandler(int sig, siginfo_t* info, void* rawContext)
desc.EmulatedFaultAddr = (u8*)info->si_addr - curArea;
desc.FaultPC = context->uc_mcontext.gregs[REG_RIP];
#else
- desc.EmulatedFaultAddr = (u8*)info->fault_address - curArea;
+ desc.EmulatedFaultAddr = (u8*)context->uc_mcontext.fault_address - curArea;
desc.FaultPC = context->uc_mcontext.pc;
#endif