mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 10:19:01 +00:00
ISOProperties/GameListCtrl: Use Global INI Change event.
ISOProperties no longer needs its hack to refresh the game list, the new INI Modified event can be used instead.
This commit is contained in:
parent
6ab1b27477
commit
309d0e59f4
6 changed files with 128 additions and 86 deletions
|
@ -25,6 +25,9 @@ public:
|
|||
GameListItem(const std::string& _rFileName, const std::unordered_map<std::string, std::string>& custom_titles);
|
||||
~GameListItem();
|
||||
|
||||
// Reload settings after INI changes
|
||||
void ReloadINI();
|
||||
|
||||
bool IsValid() const {return m_Valid;}
|
||||
const std::string& GetFileName() const {return m_FileName;}
|
||||
std::string GetName(DiscIO::IVolume::ELanguage language) const;
|
||||
|
@ -86,7 +89,8 @@ private:
|
|||
int m_ImageWidth, m_ImageHeight;
|
||||
u8 m_disc_number;
|
||||
|
||||
std::string m_custom_name;
|
||||
std::string m_custom_name_titles_txt; // Custom title from titles.txt
|
||||
std::string m_custom_name; // Custom title from INI or titles.txt
|
||||
bool m_has_custom_name;
|
||||
|
||||
bool LoadFromCache();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue