diff --git a/core/libs/tests/GuestNpScoreOffline.cpp b/core/libs/tests/GuestNpScoreOffline.cpp index 7a4269eb51..285a181019 100644 --- a/core/libs/tests/GuestNpScoreOffline.cpp +++ b/core/libs/tests/GuestNpScoreOffline.cpp @@ -40,6 +40,7 @@ unsigned char npIdPcIds[2 * 44]; unsigned char accountIdPcIds[2 * 16]; using RankingFn = int (APS5_VABI*)(int, std::uint32_t, const void*, std::uint64_t, void*, std::uint64_t, void*, std::uint64_t, void*, std::uint64_t, std::uint64_t, void*, void*, void*); +using AccountRankingFn = int (APS5_VABI*)(int, std::uint32_t, const std::uint64_t*, std::uint64_t, void*, std::uint64_t, void*, std::uint64_t, void*, std::uint64_t, std::uint64_t, void*, void*, void*); using RangeFn = int (APS5_VABI*)(int, std::uint32_t, std::uint32_t, void*, std::uint64_t, void*, std::uint64_t, void*, std::uint64_t, std::uint64_t, void*, void*, void*); using FriendsFn = int (APS5_VABI*)(int, std::uint32_t, int, void*, std::uint64_t, void*, std::uint64_t, void*, std::uint64_t, std::uint64_t, void*, void*, const NpScoreFriendRankingOption*); using GameDataFn = int (APS5_VABI*)(int, std::uint32_t, const void*, std::uint64_t*, std::uint64_t, void*, void*); @@ -242,8 +243,8 @@ void CheckRangeAndFriendsA() { } void CheckAccountIds() { - const auto byAccountId = Resolve("sceNpScoreGetRankingByAccountId"); - const auto byAccountIdAsync = Resolve("sceNpScoreGetRankingByAccountIdAsync"); + const auto byAccountId = Resolve("sceNpScoreGetRankingByAccountId"); + const auto byAccountIdAsync = Resolve("sceNpScoreGetRankingByAccountIdAsync"); const auto byAccountIdPcId = Resolve("sceNpScoreGetRankingByAccountIdPcId"); const auto byAccountIdPcIdAsync = Resolve("sceNpScoreGetRankingByAccountIdPcIdAsync"); int req = NewRequest(); @@ -341,8 +342,8 @@ void CheckCrossSave() { const auto byRangeAsync = Resolve("sceNpScoreGetRankingByRangeForCrossSaveAsync"); const auto friends = Resolve("sceNpScoreGetFriendsRankingForCrossSave"); const auto friendsAsync = Resolve("sceNpScoreGetFriendsRankingForCrossSaveAsync"); - const auto byAccountId = Resolve("sceNpScoreGetRankingByAccountIdForCrossSave"); - const auto byAccountIdAsync = Resolve("sceNpScoreGetRankingByAccountIdForCrossSaveAsync"); + const auto byAccountId = Resolve("sceNpScoreGetRankingByAccountIdForCrossSave"); + const auto byAccountIdAsync = Resolve("sceNpScoreGetRankingByAccountIdForCrossSaveAsync"); const auto byAccountIdPcId = Resolve("sceNpScoreGetRankingByAccountIdPcIdForCrossSave"); const auto byAccountIdPcIdAsync = Resolve("sceNpScoreGetRankingByAccountIdPcIdForCrossSaveAsync"); int req = NewRequest();