[XAM] Cap dummy achievement details to 100.

This commit is contained in:
gibbed 2021-05-08 10:07:24 -05:00 committed by Rick Gibbed
parent b735e3f40d
commit b2011453cc
1 changed files with 1 additions and 1 deletions

View File

@ -702,7 +702,7 @@ dword_result_t XamUserCreateAchievementEnumerator(dword_t title_id,
return result; return result;
} }
uint32_t dummy_count = std::min(20u, uint32_t(count)); uint32_t dummy_count = std::min(100u, uint32_t(count));
for (uint32_t i = 0; i < dummy_count; ++i) { for (uint32_t i = 0; i < dummy_count; ++i) {
auto item = XStaticAchievementEnumerator::AchievementDetails{ auto item = XStaticAchievementEnumerator::AchievementDetails{
i, u"Dummy Text", u"Dummy Text", u"Dummy Text"}; i, u"Dummy Text", u"Dummy Text", u"Dummy Text"};