mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 10:09:32 +01:00
Add configurable login data for PSN revival
FoxLovesYou in our Discord is working on sceNp and related to get certain PSN games working. These parmaeters are needed for his code branch, but it's not merged yet so I'm just throwing them in development tools for now.
This commit is contained in:
1 parent
04f84ad583
commit
4375cbca67
5 files changed
+23
-4
No files matched your search
@@ -343,8 +343,17 @@ void DeveloperToolsScreen::CreateNetworkTab(UI::LinearLayout *list) {
|
||||
using namespace UI;
|
||||
auto dev = GetI18NCategory(I18NCat::DEVELOPER);
|
||||
auto ms = GetI18NCategory(I18NCat::MAINSETTINGS);
|
||||
auto di = GetI18NCategory(I18NCat::DIALOG);
|
||||
list->Add(new ItemHeader(ms->T("Networking")));
|
||||
list->Add(new CheckBox(&g_Config.bDontDownloadInfraJson, dev->T("Don't download infra-dns.json")));
|
||||
|
||||
// Note: Intensionally didn't use translation here, until we move these to the
|
||||
// regular settings after the code is merged.
|
||||
list->Add(new ItemHeader("PSN replacement"));
|
||||
PopupTextInputChoice *usernameChoice = list->Add(new PopupTextInputChoice(GetRequesterToken(), &g_Config.sPSNNPID, di->T("Username"), "", 64, screenManager()));
|
||||
usernameChoice->SetRestriction(StringRestriction::AlphaNumDashUnderscore, 3);
|
||||
list->Add(new PopupTextInputChoice(GetRequesterToken(), &g_Config.sPSNPassword, di->T("Password"), "", 64, screenManager()));
|
||||
list->Add(new PopupTextInputChoice(GetRequesterToken(), &g_Config.sPSNToken, "Token", "", 64, screenManager()));
|
||||
}
|
||||
|
||||
void DeveloperToolsScreen::CreateGraphicsTab(UI::LinearLayout *list) {
|
||||
|
||||
Reference in new issue
Block a user