mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 17:19:28 +01:00
Add support for changing the InputBox's title to the description text provided by the game(or the emulator itself). If none is provided(empty string), fall back to a default string.
This commit is contained in:
1 parent
22bceea46c
commit
1da0454508
3 files changed
+29
-8
No files matched your search
+1
-1
@@ -1552,7 +1552,7 @@ void SystemScreen::render() {
|
||||
char name[name_len];
|
||||
memset(name, 0, sizeof(name));
|
||||
|
||||
if(InputBox_GetString(MainWindow::GetHInstance(), MainWindow::hwndMain, NULL, "PPSSPP", name, name_len))
|
||||
if(InputBox_GetString(MainWindow::GetHInstance(), MainWindow::hwndMain, "Enter a new PSP nickname", "PPSSPP", name, name_len))
|
||||
g_Config.sNickName.assign(name);
|
||||
else
|
||||
g_Config.sNickName.assign("PPSSPP");
|
||||
|
||||
Reference in new issue
Block a user