mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Add the ability to hide adhoc servers using a "hidden" entry in the json.
Useful when servers are temporarily down.
This commit is contained in:
1 parent
0ef16c2ef4
commit
61e76fcf68
9 files changed
+58
-7
No files matched your search
@@ -726,6 +726,8 @@ void AdhocServerScreen::CreatePopupContents(UI::ViewGroup *parent) {
|
||||
|
||||
CollapsibleSection *publicSection = innerView->Add(new CollapsibleSection(n->T("Public server list"), new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT)));
|
||||
for (const auto &entry : entries) {
|
||||
if (entry.hidden)
|
||||
continue;
|
||||
AddButtonFromEntry(publicSection, entry, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user