[XAM] Base dummy achievement details at ID 1.

This commit is contained in:
gibbed 2021-05-08 10:09:38 -05:00 committed by Rick Gibbed
parent 5d778cfef6
commit 0f6bfcf0d5
1 changed files with 1 additions and 1 deletions

View File

@ -703,7 +703,7 @@ dword_result_t XamUserCreateAchievementEnumerator(dword_t title_id,
}
uint32_t dummy_count = std::min(100u, uint32_t(count));
for (uint32_t i = 0; i < dummy_count; ++i) {
for (uint32_t i = 1; i <= dummy_count; ++i) {
auto item = XStaticAchievementEnumerator::AchievementDetails{
i, fmt::format(u"Dummy {}", i), u"Dummy description",
u"Dummy unachieved"};