mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-24 05:49:58 +00:00
Switch from u32_le to u32, and truncate the user's input if it's too long(so that they still get something entered. It's probably confusing not to enter something).
This commit is contained in:
parent
3c303925c9
commit
d5c4f6673c
@ -803,8 +803,8 @@ int PSPOskDialog::NativeKeyboard()
|
||||
}
|
||||
else
|
||||
{
|
||||
ERROR_LOG(HLE, "NativeKeyboard: input text too long. Try again.");
|
||||
wcsncat(input, L"", wcslen(L""));
|
||||
ERROR_LOG(HLE, "NativeKeyboard: input text too long(%d characters/glyphs max), truncating to game-requested length.", maxInputLength);
|
||||
wcsncat(input, inputWide.c_str(), maxInputLength);
|
||||
}
|
||||
}
|
||||
status = SCE_UTILITY_STATUS_FINISHED;
|
||||
|
Loading…
Reference in New Issue
Block a user