mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-03 23:21:52 +00:00
Debugger: Allow game to reset immediately even when execution is stopped by debugger
This commit is contained in:
parent
41c181a39f
commit
0523fac675
@ -333,6 +333,12 @@ void Console::Reset(bool softReset)
|
||||
} else {
|
||||
Instance->_systemActionManager->PowerCycle();
|
||||
}
|
||||
|
||||
//Resume from code break if needed (otherwise reset doesn't happen right away)
|
||||
shared_ptr<Debugger> debugger = Instance->_debugger;
|
||||
if(debugger) {
|
||||
debugger->Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user