Avoid spinning the CPU in dev menu screens.

This commit is contained in:
Unknown W. Brackets committed 2014-10-11 09:30:30 -07:00
1 parent 498d0b9adc
commit 4027731a71
1 file changed
+3
+3
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;
}