/* $(SCE_PS3_ROOT)\target\ppu\lib\libsysutil_np_trophy_stub.a */
#include <np.h>
int GetTrophyCount()
{
SceNpTrophyGameDetails game_details;
sceNpTrophyGetGameInfo(1, 1, &game_details, NULL);
return game_details.numTrophies;
}
void UnlockAllTrophys()
{
for (int trophyId = 0; trophyId < GetTrophyCount(); trophyId++)
sceNpTrophyUnlockTrophy(1, 1, trophyId, NULL);
}
/* $(SCE_PS3_ROOT)\target\ppu\lib\libsysutil_np_trophy_stub.a */
#include <np.h>
int GetTrophyCount()
{
SceNpTrophyGameDetails game_details;
sceNpTrophyGetGameInfo(1, 1, &game_details, NULL);
return game_details.numTrophies;
}
void UnlockAllTrophys()
{
for (int trophyId = 0; trophyId < GetTrophyCount(); trophyId++)
sceNpTrophyUnlockTrophy(1, 1, trophyId, NULL);
}
/* $(SCE_PS3_ROOT)\target\ppu\lib\libsysutil_np_trophy_stub.a */
#include <np.h>
int GetTrophyCount()
{
SceNpTrophyGameDetails game_details;
sceNpTrophyGetGameInfo(1, 1, &game_details, NULL);
return game_details.numTrophies;
}
void UnlockAllTrophys()
{
for (int trophyId = 0; trophyId < GetTrophyCount(); trophyId++)
sceNpTrophyUnlockTrophy(1, 1, trophyId, NULL);
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.