Adhoc: Don't show player ports by default (control with developer setting)

This commit is contained in:
Henrik Rydgård committed 2026-04-16 12:48:14 -06:00
1 parent 219b50b93a
commit 56ca89a6e3
5 files changed
+34 -21

No files matched your search

+1 -1
View File
@@ -485,7 +485,7 @@ void DeveloperToolsScreen::CreateNetworkTab(UI::LinearLayout *list) {
auto ri = GetI18NCategory(I18NCat::REMOTEISO);
list->Add(new ItemHeader(ms->T("Networking")));
list->Add(new CheckBox(&g_Config.bDontDownloadInfraJson, dev->T("Don't download infra-dns.json")));
list->Add(new CheckBox(&g_Config.bAdhocServerShowPlayerPorts, dev->T("Show player ports in adhoc server status")));
// This is shared between RemoteISO and the remote debugger.
PopupSliderChoice *portChoice = new PopupSliderChoice(&g_Config.iRemoteISOPort, 0, 65535, 0, ri->T("Local Server Port", "Local Server Port"), 100, screenManager());
list->Add(portChoice);