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:
The Dax committed 2013-08-05 23:17:26 -04:00
1 parent 22bceea46c
commit 1da0454508
3 files changed
+29 -8

No files matched your search

+1 -1
View File
@@ -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");