mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Removed an unnecessary if statement when invalidating the cached background.
This commit is contained in:
parent
84f4913610
commit
ef7c83b7e5
|
@ -142,8 +142,6 @@ void GuiSettings::save()
|
||||||
// time and thus not getting included in the regenerated cached background.
|
// time and thus not getting included in the regenerated cached background.
|
||||||
// This is just a hack though and a better mechanism is needed to handle this.
|
// This is just a hack though and a better mechanism is needed to handle this.
|
||||||
SDL_Delay(100);
|
SDL_Delay(100);
|
||||||
if (mNeedsSaving || mNeedsCollectionsUpdate || mNeedsReloading || mNeedsSorting ||
|
|
||||||
mNeedsGoToStart || mNeedsGoToSystem)
|
|
||||||
mWindow->invalidateCachedBackground();
|
mWindow->invalidateCachedBackground();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue