Support stopping emulation while all threads are sleeping

This fixes #242
This commit is contained in:
momo5502
2025-05-29 08:28:39 +02:00
parent 4df6e5f174
commit c559c2ff43
3 changed files with 16 additions and 1 deletions

View File

@@ -14,6 +14,11 @@ class win_x64_gdb_stub_handler : public x64_gdb_stub_handler
{
}
void on_interrupt() override
{
this->win_emu_->stop();
}
bool should_stop() override
{
return this->should_stop_();