[Kernel] AchievementManager: Added Interface for attaching custom implementations

This commit is contained in:
Gliniak
2024-12-10 19:13:47 +01:00
committed by Radosław Gliński
parent 0368e06b71
commit e93373660f
10 changed files with 423 additions and 82 deletions

View File

@@ -106,8 +106,8 @@ uint32_t XAchievementEnumerator::WriteItems(uint32_t buffer_ptr,
!!(flags_ & 4) ? AppendString(string_buffer, item.unachieved) : 0;
details[i].image_id = item.image_id;
details[i].gamerscore = item.gamerscore;
details[i].unlock_time.unk_0 = item.unlock_time.unk_0;
details[i].unlock_time.unk_4 = item.unlock_time.unk_4;
details[i].unlock_time.high_part = item.unlock_time.high_part;
details[i].unlock_time.low_part = item.unlock_time.low_part;
details[i].flags = item.flags;
}