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;