mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Removed a small optimization that caused some issues under rare circumstances
This commit is contained in:
parent
0f0f24887e
commit
499fecf100
|
@ -133,9 +133,6 @@ void ImageComponent::setGameOverrideImage(const std::string& basename, const std
|
|||
if (mGameOverridePath == "")
|
||||
return;
|
||||
|
||||
if (!Utils::FileSystem::exists(mGameOverridePath + system))
|
||||
return;
|
||||
|
||||
const std::string imageFilePath {mGameOverridePath + system + "/" + basename};
|
||||
for (auto& extension : sSupportedOverrideExtensions) {
|
||||
if (Utils::FileSystem::exists(imageFilePath + extension)) {
|
||||
|
|
Loading…
Reference in a new issue