mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Removed an unnecessary if statement when invalidating the cached background.
This commit is contained in:
parent
84f4913610
commit
ef7c83b7e5
|
@ -142,9 +142,7 @@ void GuiSettings::save()
|
|||
// 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.
|
||||
SDL_Delay(100);
|
||||
if (mNeedsSaving || mNeedsCollectionsUpdate || mNeedsReloading || mNeedsSorting ||
|
||||
mNeedsGoToStart || mNeedsGoToSystem)
|
||||
mWindow->invalidateCachedBackground();
|
||||
mWindow->invalidateCachedBackground();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue