UI: Keep rendering UI even while stepping.

This makes it possible to "get out" on mobile.
This commit is contained in:
Unknown W. Brackets 2018-06-23 10:58:30 -07:00
parent 4cfc6ee272
commit ca8677d262
3 changed files with 21 additions and 7 deletions

View file

@ -442,6 +442,10 @@ void PSP_RunLoopWhileState() {
// Run until CORE_NEXTFRAME
while (coreState == CORE_RUNNING || coreState == CORE_STEPPING) {
PSP_RunLoopFor(blockTicks);
if (coreState == CORE_STEPPING) {
// Keep the UI responsive.
break;
}
}
}