From cec59cd3412f224afef11a725b3b79754fcd520b Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Sun, 25 Sep 2022 15:13:09 +0200 Subject: [PATCH] fix for last commit --- src/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.c b/src/debug.c index 93197cf..6b9d12d 100644 --- a/src/debug.c +++ b/src/debug.c @@ -46,7 +46,7 @@ int dbg_exception_handler(EXCEPTION_POINTERS* exception) CloseHandle(dmp); } - if (exception && ExceptionRecord) + if (exception && exception->ExceptionRecord) { dbg_printf( "Exception at %p (%08X)\n",