mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 10:43:44 +01:00
oops, typo fix, sorry
This commit is contained in:
1 parent
fac6fb5faa
commit
83783a8f96
1 file changed
+1
-1
@@ -378,7 +378,7 @@ u32 sceUtilityGetSystemParamString(u32 id, u32 destaddr, u32 unknownparam)
|
||||
char *buf = (char *)Memory::GetPointer(destaddr);
|
||||
switch (id) {
|
||||
case PSP_SYSTEMPARAM_ID_STRING_NICKNAME:
|
||||
strncpy(buf, g_Config.sNickName.c_str(), std::max<u32>(16, g_Config.sNickName.length()));
|
||||
strncpy(buf, g_Config.sNickName.c_str(), std::min<u32>(16, g_Config.sNickName.length()));
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user