From 73c37eaeb18137af080115c720179032088af971 Mon Sep 17 00:00:00 2001 From: Maurice Heumann Date: Mon, 7 Apr 2025 15:47:00 +0200 Subject: [PATCH] Fix NtQueryInformationProcess ProcessDebugFlags --- src/windows-emulator/syscalls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows-emulator/syscalls.cpp b/src/windows-emulator/syscalls.cpp index 18e5c29f..9c8fc713 100644 --- a/src/windows-emulator/syscalls.cpp +++ b/src/windows-emulator/syscalls.cpp @@ -1443,7 +1443,7 @@ namespace } const emulator_object info{c.emu, process_information}; - info.write(0); + info.write(info_class == ProcessDebugFlags ? 1 : 0); return STATUS_SUCCESS; }