mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix bug in input box handling. Should fix #9095.
This commit is contained in:
parent
cc37528ccb
commit
a1f25ceb7f
1 changed files with 3 additions and 2 deletions
|
@ -762,10 +762,11 @@ void HandleGlobalMessage(const std::string &msg, const std::string &value) {
|
|||
}
|
||||
if (msg == "inputbox_completed") {
|
||||
SplitString(value, ':', inputboxValue);
|
||||
std::string setString = inputboxValue.size() > 1 ? inputboxValue[1] : "";
|
||||
if (inputboxValue[0] == "IP")
|
||||
g_Config.proAdhocServer = inputboxValue[1];
|
||||
g_Config.proAdhocServer = setString;
|
||||
if (inputboxValue[0] == "nickname")
|
||||
g_Config.sNickName = inputboxValue[1];
|
||||
g_Config.sNickName = setString;
|
||||
inputboxValue.clear();
|
||||
}
|
||||
if (msg == "savestate_displayslot") {
|
||||
|
|
Loading…
Add table
Reference in a new issue