From e6f16be221b24d2b9fdcd6e5e8cc828c71b05586 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Wed, 16 Dec 2020 18:46:38 +0100 Subject: [PATCH] Fixed an issue with refining ScreenScraper searches for arcade games. Also did a tiny cosmetic code change in Window.cpp. --- es-app/src/guis/GuiScraperSearch.cpp | 3 ++- es-core/src/Window.cpp | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/es-app/src/guis/GuiScraperSearch.cpp b/es-app/src/guis/GuiScraperSearch.cpp index cf0954b4d..c873b4357 100644 --- a/es-app/src/guis/GuiScraperSearch.cpp +++ b/es-app/src/guis/GuiScraperSearch.cpp @@ -675,7 +675,8 @@ void GuiScraperSearch::openInputScreen(ScraperSearchParams& params) // If searching based on the actual file name, then expand to the full game name // in case the scraper is set to TheGamesDB and it's an arcade game. This is required // as TheGamesDB has issues with searches using the short MAME names. - if (params.game->isArcadeGame()) + if (params.game->isArcadeGame() && + Settings::getInstance()->getString("Scraper") == "thegamesdb") searchString = MameNames::getInstance()->getCleanName(params.game->getCleanName()); else searchString = params.game->getCleanName(); diff --git a/es-core/src/Window.cpp b/es-core/src/Window.cpp index d4211bf9b..b5967215f 100644 --- a/es-core/src/Window.cpp +++ b/es-core/src/Window.cpp @@ -329,8 +329,7 @@ void Window::render() Renderer::shaderParameters blurParameters; blurParameters.shaderPasses = 3; Renderer::shaderPostprocessing(Renderer::SHADER_BLUR_HORIZONTAL | - Renderer::SHADER_BLUR_VERTICAL, - blurParameters, processedTexture); + Renderer::SHADER_BLUR_VERTICAL, blurParameters, processedTexture); mPostprocessedBackground->initFromPixels(processedTexture, Renderer::getScreenWidth(), Renderer::getScreenHeight());