From 18487917df5b43bffe646a2489ab6813244c961f Mon Sep 17 00:00:00 2001 From: offtkp Date: Wed, 18 Sep 2024 14:42:51 +0300 Subject: [PATCH] Fixup arguments --- src/core/signals.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/signals.cpp b/src/core/signals.cpp index 6410255ab2..b978951072 100644 --- a/src/core/signals.cpp +++ b/src/core/signals.cpp @@ -29,11 +29,11 @@ static LONG WINAPI SignalHandler(EXCEPTION_POINTERS* pExp) noexcept { switch (pExp->ExceptionRecord->ExceptionCode) { case EXCEPTION_ACCESS_VIOLATION: handled = signals->DispatchAccessViolation( - code_address, reinterpret_cast(pExp->ExceptionRecord->ExceptionInformation[1]), - Common::IsWriteError(pExp)); + pExp->ContextRecord, + reinterpret_cast(pExp->ExceptionRecord->ExceptionInformation[1])); break; case EXCEPTION_ILLEGAL_INSTRUCTION: - handled = signals->DispatchIllegalInstruction(pExp->ContextRecord, code_address); + handled = signals->DispatchIllegalInstruction(pExp->ContextRecord); break; default: break;