Fixed an issue where reloading the System view could lead to an invalid camera position.

This commit is contained in:
Leon Styhre 2021-11-04 23:21:12 +01:00
parent 99604d3a34
commit 51ade956ed

View file

@ -1033,6 +1033,8 @@ void ViewController::reloadGameListView(IGameListView* view, bool reloadTheme)
void ViewController::reloadAll()
{
cancelViewTransitions();
// Clear all GameListViews.
std::map<SystemData*, FileData*> cursorMap;
for (auto it = mGameListViews.cbegin(); it != mGameListViews.cend(); it++)