mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
Fixed a small issue with video initializations during gamelist reloads.
This commit is contained in:
parent
b6874acc01
commit
2d5662780f
|
@ -790,6 +790,9 @@ void ViewController::reloadGameListView(IGameListView* view, bool reloadTheme)
|
|||
|
||||
mGameListViews.erase(it);
|
||||
|
||||
if (isCurrent)
|
||||
mCurrentView = nullptr;
|
||||
|
||||
if (reloadTheme)
|
||||
system->loadTheme();
|
||||
system->getIndex()->setKidModeFilters();
|
||||
|
@ -831,6 +834,7 @@ void ViewController::reloadAll()
|
|||
cursorMap[it->first] = it->second->getCursor();
|
||||
|
||||
mGameListViews.clear();
|
||||
mCurrentView = nullptr;
|
||||
|
||||
// Load themes, create GameListViews and reset filters.
|
||||
for (auto it = cursorMap.cbegin(); it != cursorMap.cend(); it++) {
|
||||
|
|
Loading…
Reference in a new issue