fix incorrect ctx check in win32 demon

This commit is contained in:
Ryan Fleury
2025-10-06 14:35:41 -07:00
parent 835a57f918
commit 284524e0c4
+1 -1
View File
@@ -2882,7 +2882,7 @@ dmn_ctrl_run(Arena *arena, DMN_CtrlCtx *ctx, DMN_RunCtrls *ctrls)
{ {
single_step_thread_ctx = 0; single_step_thread_ctx = 0;
} }
if(ctx != 0) if(single_step_thread_ctx != 0)
{ {
U64 rflags = single_step_thread_ctx->EFlags|0x2; U64 rflags = single_step_thread_ctx->EFlags|0x2;
U64 new_rflags = rflags & ~0x100; U64 new_rflags = rflags & ~0x100;