From d7a1a269b704152b9cf3c1e38735112f68b07612 Mon Sep 17 00:00:00 2001 From: Maurice Heumann Date: Sat, 12 Jul 2025 21:33:12 +0200 Subject: [PATCH] Setup thread before dispatching APC --- src/windows-emulator/windows_emulator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/windows-emulator/windows_emulator.cpp b/src/windows-emulator/windows_emulator.cpp index 44175c43..b384c576 100644 --- a/src/windows-emulator/windows_emulator.cpp +++ b/src/windows-emulator/windows_emulator.cpp @@ -107,6 +107,8 @@ namespace return; } + thread.setup_if_necessary(win_emu.emu(), win_emu.process); + win_emu.callbacks.on_generic_activity("APC Dispatch"); const auto next_apx = apcs.front();