[XAM/UI] Fixed crashing on Titles & Achievements menu

This commit is contained in:
Gliniak 2025-03-31 21:32:41 +02:00
parent 7a2f53bf20
commit a0d199cd35

View file

@ -514,6 +514,11 @@ class GameAchievementsDialog final : public XamDialog {
}
private:
~GameAchievementsDialog() {
for (auto& entry : achievements_icons_) {
entry.second.release();
}
}
bool LoadAchievementsData() {
xe::ui::IconsData data;
@ -724,6 +729,11 @@ class GamesInfoDialog final : public XamDialog {
}
private:
~GamesInfoDialog() {
for (auto& entry : title_icon) {
entry.second.release();
}
}
void LoadProfileGameInfo(ui::ImGuiDrawer* imgui_drawer,
const UserProfile* profile) {
info_.clear();