From 499fecf100821e0c784ee858206294be9e3e6971 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 10 Apr 2023 20:28:29 +0200 Subject: [PATCH] Removed a small optimization that caused some issues under rare circumstances --- es-core/src/components/ImageComponent.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/es-core/src/components/ImageComponent.cpp b/es-core/src/components/ImageComponent.cpp index 6976418c0..6c8800f1a 100644 --- a/es-core/src/components/ImageComponent.cpp +++ b/es-core/src/components/ImageComponent.cpp @@ -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)) {