Quick & dirty thread switching support

This commit is contained in:
momo5502
2024-10-17 20:05:47 +02:00
parent 933bfcaaf3
commit 71c8177ee3
5 changed files with 95 additions and 2 deletions

View File

@@ -48,7 +48,17 @@ namespace
}
else
{
win_emu.emu().start_from_ip();
while (true)
{
win_emu.emu().start_from_ip();
if (win_emu.switch_thread)
{
win_emu.perform_thread_switch();
continue;
}
break;
}
}
}
catch (...)