mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[XAM/UI] Fixed crashing on Titles & Achievements menu
This commit is contained in:
parent
7a2f53bf20
commit
a0d199cd35
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue