DolphinWX: Load EmuState and custom name for actual discs

This commit is contained in:
JosJuice
2017-06-26 22:55:50 +02:00
parent d5bf6f1bbc
commit 0ac1562fbd

View File

@ -423,9 +423,15 @@ void GameListCtrl::RefreshList()
{ {
auto file = std::make_shared<GameListItem>(drive); auto file = std::make_shared<GameListItem>(drive);
if (file->IsValid()) if (file->IsValid())
{
if (file->EmuStateChanged())
file->EmuStateCommit();
if (file->CustomNameChanged(m_title_database))
file->CustomNameCommit();
m_shown_files.push_back(file); m_shown_files.push_back(file);
} }
} }
}
Freeze(); Freeze();
ClearAll(); ClearAll();