From e136a6753535a84504239894b738bff7779ca7f7 Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Mon, 25 Mar 2024 11:00:00 -0700 Subject: [PATCH] demon/win32: correctly report exception repetitions for unhandled exception cases --- src/demon/win32/demon_core_win32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/demon/win32/demon_core_win32.c b/src/demon/win32/demon_core_win32.c index ab320c3d..297ddd7c 100644 --- a/src/demon/win32/demon_core_win32.c +++ b/src/demon/win32/demon_core_win32.c @@ -2144,6 +2144,7 @@ dmn_ctrl_run(Arena *arena, DMN_CtrlCtx *ctx, DMN_RunCtrls *ctrls) //- rjf: unhandled exception case default: { + e->exception_repeated = (edi->dwFirstChance == 0); dmn_w32_shared->exception_not_handled = (edi->dwFirstChance != 0); }break; }