Debugger: Allow game to reset immediately even when execution is stopped by debugger

This commit is contained in:
Sour 2017-12-27 12:39:19 -05:00
parent 41c181a39f
commit 0523fac675

View File

@ -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();
}
}
}