Fix v1.2
This commit is contained in:
parent
8bfc5cb9be
commit
b474291ec6
|
@ -228,9 +228,6 @@ void sceNpTrophySetupDialogParamInit(SceNpTrophySetupDialogParam* param)
|
|||
|
||||
int setSecureTick(unsigned long long int psTime)
|
||||
{
|
||||
|
||||
|
||||
|
||||
SceRtcTick utcTime = {0};
|
||||
SceRtcTick localTime = {0};
|
||||
|
||||
|
@ -683,7 +680,7 @@ TrophyMenu:
|
|||
//set options
|
||||
strcpy(option_list[0].path, "Unlock a Trophy");
|
||||
strcpy(option_list[1].path, "Unlock All Trophys");
|
||||
strcpy(option_list[3].path, "Exit");
|
||||
strcpy(option_list[2].path, "Exit");
|
||||
|
||||
while(1)
|
||||
{
|
||||
|
@ -1179,12 +1176,11 @@ selectTrophyMenu:
|
|||
if(pad.buttons == SCE_CTRL_CROSS)
|
||||
{
|
||||
psvDebugScreenClear();
|
||||
|
||||
printf("Unlocking trophy %i\n",selection);
|
||||
SceNpTrophyId id = selection;
|
||||
SceNpTrophyId platid;
|
||||
FakeTimes(1);
|
||||
ret = setSecureTick(fakeTime.tick);
|
||||
setSecureTick(fakeTime.tick);
|
||||
ret = sceNpTrophyUnlockTrophy(trophyContext,handle,id,&platid);
|
||||
if(ret < 0){
|
||||
if(ret == 0x8055160f)
|
||||
|
@ -1235,7 +1231,6 @@ selectTrophyMenu:
|
|||
|
||||
else if(selection == 1)
|
||||
{
|
||||
|
||||
psvDebugScreenClear(); //clear screen
|
||||
SceNpTrophyId id = 0;
|
||||
SceNpTrophyId platid;
|
||||
|
|
Loading…
Reference in New Issue