mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 02:28:51 +00:00
Refactored Challenge Icons to handle icon updates
If an icon is displayed on screen before it downloads, it was displaying a default icon but it would fail to load the actual icon even after it was downloaded. This fixes that.
This commit is contained in:
parent
6c5ceaa06d
commit
3d5a1f7d33
4 changed files with 55 additions and 36 deletions
|
@ -76,7 +76,7 @@ private:
|
|||
float m_backbuffer_scale = 1.0;
|
||||
|
||||
#ifdef USE_RETRO_ACHIEVEMENTS
|
||||
std::map<std::string, std::unique_ptr<AbstractTexture>, std::less<>> m_challenge_texture_map;
|
||||
std::map<int, std::unique_ptr<AbstractTexture>, std::less<>> m_challenge_texture_map;
|
||||
#endif // USE_RETRO_ACHIEVEMENTS
|
||||
|
||||
bool m_ready = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue