mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 03:33:56 +00:00
Quick & dirty thread switching support
This commit is contained in:
@@ -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 (...)
|
||||
|
||||
Reference in New Issue
Block a user