Fix warning

This commit is contained in:
SilicaAndPina 2020-03-08 01:41:26 +13:00
parent f467a9e651
commit 6db7d0a124
1 changed files with 4 additions and 4 deletions

View File

@ -403,7 +403,7 @@ start:
SceUChar8 commsign[160]; SceUChar8 commsign[160];
memset(commsign,0,160); memset(commsign,0,160);
char path[1024]; char path[0x1128];
SceUID fd; SceUID fd;
int len; int len;
@ -507,7 +507,7 @@ Found:
memset(path,0,1024); memset(path,0,0x1128);
sprintf(path,"%s/sce_sys/trophy/%s/TROPHY.TRP",g_currentMount,commid); sprintf(path,"%s/sce_sys/trophy/%s/TROPHY.TRP",g_currentMount,commid);
size = getFileSize(path); size = getFileSize(path);
if (size >=0) if (size >=0)
@ -525,7 +525,7 @@ Found:
while(1){}; while(1){};
} }
memset(path,0,1024); memset(path,0,0x1128);
sprintf(path,"ux0:app/%s/sce_sys",titleid); sprintf(path,"ux0:app/%s/sce_sys",titleid);
sceIoMkdir(path,0006); sceIoMkdir(path,0006);
sprintf(path,"ux0:app/%s/sce_sys/trophy",titleid); sprintf(path,"ux0:app/%s/sce_sys/trophy",titleid);
@ -559,7 +559,7 @@ Found:
// remount app0 // remount app0
// CelesteBlue TAKE NOTES. // CelesteBlue TAKE NOTES.
memset(path,0,1024); memset(path,0,0x1128);
sprintf(path,"ux0:/app/%s",titleid); sprintf(path,"ux0:/app/%s",titleid);
ret = pfsMount(path); ret = pfsMount(path);
if(ret < 0){ if(ret < 0){