mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Strip spaces from pasted IP addresses. Helps #9795. Fix accidental typo
This commit is contained in:
parent
edf0606bf7
commit
8ba5d7ec1e
@ -1117,7 +1117,7 @@ UI::EventReturn GameSettingsScreen::OnChangeproAdhocServerAddress(UI::EventParam
|
||||
memset(name, 0, sizeof(name));
|
||||
|
||||
if (System_InputBoxGetString("Enter an IP address", g_Config.proAdhocServer.c_str(), name, name_len)) {
|
||||
g_Config.proAdhocServer = name;
|
||||
g_Config.proAdhocServer = StripSpaces(name);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -252,7 +252,7 @@ int NativeMix(short *audio, int num_samples) {
|
||||
num_samples = __AudioMix(audio, num_samples, sample_rate > 0 ? sample_rate : 44100);
|
||||
|
||||
#ifdef _WIN32
|
||||
winAudioBackend->Update*();
|
||||
winAudioBackend->Update();
|
||||
#endif
|
||||
|
||||
return num_samples;
|
||||
|
Loading…
Reference in New Issue
Block a user