If the custom version is larger than 5 but smaller than 19 characters, truncate it
This commit is contained in:
parent
85aaae67bf
commit
5a30b2b298
@ -109,7 +109,11 @@ static void loadCustomVerString(u16 *out, u32 *verStringSize)
|
||||
else break;
|
||||
}
|
||||
|
||||
if(finalSize > 0) *verStringSize = finalSize * 2;
|
||||
if(finalSize > 0)
|
||||
{
|
||||
if(finalSize > 5 && finalSize < 19) out[finalSize++] = 0;
|
||||
*verStringSize = finalSize * 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user