mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
Minor cleanups
This commit is contained in:
1 parent
653b19ae53
commit
600fb7cc22
3 files changed
+7
-5
No files matched your search
@@ -327,6 +327,8 @@ void GameSettingsScreen::CreateGraphicsSettings(UI::ViewGroup *graphicsSettings)
|
||||
int max_res = std::min(max_res_temp, (int)ARRAY_SIZE(deviceResolutions));
|
||||
UI::PopupMultiChoice *hwscale = graphicsSettings->Add(new PopupMultiChoice(&g_Config.iAndroidHwScale, gr->T("Display Resolution (HW scaler)"), deviceResolutions, 0, max_res, I18NCat::GRAPHICS, screenManager()));
|
||||
hwscale->OnChoice.Add([](UI::EventParams &) {
|
||||
System_PostUIMessage(UIMessage::GPU_RENDER_RESIZED);
|
||||
System_PostUIMessage(UIMessage::GPU_DISPLAY_RESIZED);
|
||||
System_RecreateActivity();
|
||||
return UI::EVENT_DONE;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user