Avoid spinning the CPU in dev menu screens.

This commit is contained in:
Unknown W. Brackets 2014-10-11 09:28:52 -07:00
parent 498d0b9adc
commit 4027731a71

View file

@ -62,16 +62,19 @@ void DevMenu::CreatePopupContents(UI::ViewGroup *parent) {
}
UI::EventReturn DevMenu::OnLogConfig(UI::EventParams &e) {
UpdateUIState(UISTATE_PAUSEMENU);
screenManager()->push(new LogConfigScreen());
return UI::EVENT_DONE;
}
UI::EventReturn DevMenu::OnDeveloperTools(UI::EventParams &e) {
UpdateUIState(UISTATE_PAUSEMENU);
screenManager()->push(new DeveloperToolsScreen());
return UI::EVENT_DONE;
}
UI::EventReturn DevMenu::OnJitCompare(UI::EventParams &e) {
UpdateUIState(UISTATE_PAUSEMENU);
screenManager()->push(new JitCompareScreen());
return UI::EVENT_DONE;
}