mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 16:53:40 +01:00
UI: Improve documentation on pop up use.
This commit is contained in:
1 parent
e59ebf8ad9
commit
6541413021
1 file changed
+2
@@ -443,6 +443,8 @@ void SetBackgroundPopupScreen::update() {
|
||||
|
||||
UI::EventReturn GameScreen::OnSetBackground(UI::EventParams &e) {
|
||||
I18NCategory *ga = GetI18NCategory("Game");
|
||||
// This popup is used to prevent any race condition:
|
||||
// g_gameInfoCache may take time to load the data, and a crash could happen if they exit before then.
|
||||
SetBackgroundPopupScreen *pop = new SetBackgroundPopupScreen(ga->T("Setting Background"), gamePath_);
|
||||
if (e.v)
|
||||
pop->SetPopupOrigin(e.v);
|
||||
|
||||
Reference in new issue
Block a user