mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-26 23:11:01 +00:00
Fix creating suspended thread and parse create_flags
This commit is contained in:
@@ -371,7 +371,7 @@ void windows_emulator::setup_process(const application_settings& app_settings)
|
||||
this->dispatcher.setup(ntdll->exports, ntdll_data, win32u->exports, win32u_data);
|
||||
|
||||
const auto main_thread_id = context.create_thread(this->memory, this->mod_manager.executable->entry_point, 0,
|
||||
this->mod_manager.executable->size_of_stack_commit, false, true);
|
||||
this->mod_manager.executable->size_of_stack_commit, 0, true);
|
||||
|
||||
switch_to_thread(*this, main_thread_id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user