From c0c965cc7e4fcf1218de98fde468bd22ce3463bc Mon Sep 17 00:00:00 2001 From: CrazyBloo Date: Thu, 26 Sep 2024 20:16:03 -0400 Subject: [PATCH] format --- src/core/libraries/np_trophy/np_trophy.cpp | 5 ++--- src/core/libraries/np_trophy/trophy_ui.cpp | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/libraries/np_trophy/np_trophy.cpp b/src/core/libraries/np_trophy/np_trophy.cpp index c23485d94..82e84c626 100644 --- a/src/core/libraries/np_trophy/np_trophy.cpp +++ b/src/core/libraries/np_trophy/np_trophy.cpp @@ -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]; diff --git a/src/core/libraries/np_trophy/trophy_ui.cpp b/src/core/libraries/np_trophy/trophy_ui.cpp index bf8102645..701d220ad 100644 --- a/src/core/libraries/np_trophy/trophy_ui.cpp +++ b/src/core/libraries/np_trophy/trophy_ui.cpp @@ -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;