Prepare APC support

This commit is contained in:
momo5502
2025-04-13 09:48:02 +02:00
parent 4bf2e9287e
commit f58dec38a2
6 changed files with 18 additions and 27 deletions

View File

@@ -298,9 +298,10 @@ void windows_emulator::setup_process(const application_settings& app_settings)
switch_to_thread(*this, main_thread_id);
}
void windows_emulator::yield_thread()
void windows_emulator::yield_thread(const bool alertable)
{
this->switch_thread_ = true;
this->current_thread().apc_alertable = alertable;
this->emu().stop();
}