mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-22 04:24:44 +00:00
format
This commit is contained in:
parent
6798266232
commit
c0c965cc7e
2 changed files with 4 additions and 4 deletions
|
@ -400,15 +400,14 @@ int PS4_SYSV_ABI sceNpTrophyGetGroupInfo(OrbisNpTrophyContext context, OrbisNpTr
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
details->numTrophies = groupInfo.numTrophies;
|
||||
details->numPlatinum = groupInfo.numTrophiesByRarity[ORBIS_NP_TROPHY_GRADE_PLATINUM];
|
||||
details->numGold = groupInfo.numTrophiesByRarity[ORBIS_NP_TROPHY_GRADE_GOLD];
|
||||
details->numSilver = groupInfo.numTrophiesByRarity[ORBIS_NP_TROPHY_GRADE_SILVER];
|
||||
details->numBronze = groupInfo.numTrophiesByRarity[ORBIS_NP_TROPHY_GRADE_BRONZE];
|
||||
data->unlockedTrophies = groupInfo.unlockedTrophies;
|
||||
data->unlockedPlatinum =
|
||||
groupInfo.unlockedTrophiesByRarity[ORBIS_NP_TROPHY_GRADE_PLATINUM];
|
||||
data->unlockedPlatinum = groupInfo.unlockedTrophiesByRarity[ORBIS_NP_TROPHY_GRADE_PLATINUM];
|
||||
data->unlockedGold = groupInfo.unlockedTrophiesByRarity[ORBIS_NP_TROPHY_GRADE_GOLD];
|
||||
data->unlockedSilver = groupInfo.unlockedTrophiesByRarity[ORBIS_NP_TROPHY_GRADE_SILVER];
|
||||
data->unlockedBronze = groupInfo.unlockedTrophiesByRarity[ORBIS_NP_TROPHY_GRADE_BRONZE];
|
||||
|
|
|
@ -19,7 +19,8 @@ TrophyUI::~TrophyUI() {
|
|||
Finish();
|
||||
}
|
||||
|
||||
void Libraries::NpTrophy::TrophyUI::AddTrophyToQueue(std::string trophyIconPath, std::string trophyName) {
|
||||
void Libraries::NpTrophy::TrophyUI::AddTrophyToQueue(std::string trophyIconPath,
|
||||
std::string trophyName) {
|
||||
TrophyInfo newInfo;
|
||||
newInfo.trophyIconPath = trophyIconPath;
|
||||
newInfo.trophyName = trophyName;
|
||||
|
|
Loading…
Add table
Reference in a new issue