UI: Check for step debugging on unthrottle.

Fixes #11704.
This commit is contained in:
Unknown W. Brackets 2018-12-30 12:16:33 -08:00
parent 809c0f3e2c
commit 581cb1a069

View File

@ -617,7 +617,7 @@ UI::ViewGroup *CreatePadLayout(float xres, float yres, bool *pause) {
if (unthrottle) {
unthrottle->SetAngle(180.0f);
unthrottle->OnChange.Add([](UI::EventParams &e) {
if (e.a) {
if (e.a && coreState == CORE_STEPPING) {
Core_EnableStepping(false);
}
return UI::EVENT_DONE;