From 284524e0c4bc1ce0280aa9b4d68dd3cce51cfa7f Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Mon, 6 Oct 2025 14:35:41 -0700 Subject: [PATCH] fix incorrect ctx check in win32 demon --- src/demon/win32/demon_core_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demon/win32/demon_core_win32.c b/src/demon/win32/demon_core_win32.c index 5c93e2d2..ea1f3118 100644 --- a/src/demon/win32/demon_core_win32.c +++ b/src/demon/win32/demon_core_win32.c @@ -2882,7 +2882,7 @@ dmn_ctrl_run(Arena *arena, DMN_CtrlCtx *ctx, DMN_RunCtrls *ctrls) { single_step_thread_ctx = 0; } - if(ctx != 0) + if(single_step_thread_ctx != 0) { U64 rflags = single_step_thread_ctx->EFlags|0x2; U64 new_rflags = rflags & ~0x100;