mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-06-01 23:54:45 +00:00
TU24
This commit is contained in:
@@ -599,7 +599,7 @@ void UIScene_SkinSelectMenu::InputActionOK(unsigned int iPad)
|
||||
void UIScene_SkinSelectMenu::customDraw(IggyCustomDrawCallbackRegion *region)
|
||||
{
|
||||
int characterId = -1;
|
||||
swscanf_s(static_cast<wchar_t *>(region->name),L"Character%d",&characterId);
|
||||
swscanf(static_cast<wchar_t *>(region->name),L"Character%d",&characterId);
|
||||
if (characterId == -1)
|
||||
{
|
||||
app.DebugPrintf("Invalid character to render found\n");
|
||||
@@ -1583,7 +1583,7 @@ int UIScene_SkinSelectMenu::UnlockSkinReturned(void *pParam,int iPad,C4JStorage:
|
||||
strncpy(chKeyName, pSONYDLCInfo->chDLCKeyname, 16);
|
||||
|
||||
#ifdef __ORBIS__
|
||||
strcpy_s(chName, chKeyName);
|
||||
strcpy(chName, chKeyName);
|
||||
#else
|
||||
sprintf(chName,"%s-%s",app.GetCommerceCategory(),chKeyName);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user