mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +00:00
Fixed an issue with refining ScreenScraper searches for arcade games.
Also did a tiny cosmetic code change in Window.cpp.
This commit is contained in:
parent
6c62b23da8
commit
e6f16be221
|
@ -675,7 +675,8 @@ void GuiScraperSearch::openInputScreen(ScraperSearchParams& params)
|
||||||
// If searching based on the actual file name, then expand to the full game name
|
// 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
|
// 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.
|
// 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());
|
searchString = MameNames::getInstance()->getCleanName(params.game->getCleanName());
|
||||||
else
|
else
|
||||||
searchString = params.game->getCleanName();
|
searchString = params.game->getCleanName();
|
||||||
|
|
|
@ -329,8 +329,7 @@ void Window::render()
|
||||||
Renderer::shaderParameters blurParameters;
|
Renderer::shaderParameters blurParameters;
|
||||||
blurParameters.shaderPasses = 3;
|
blurParameters.shaderPasses = 3;
|
||||||
Renderer::shaderPostprocessing(Renderer::SHADER_BLUR_HORIZONTAL |
|
Renderer::shaderPostprocessing(Renderer::SHADER_BLUR_HORIZONTAL |
|
||||||
Renderer::SHADER_BLUR_VERTICAL,
|
Renderer::SHADER_BLUR_VERTICAL, blurParameters, processedTexture);
|
||||||
blurParameters, processedTexture);
|
|
||||||
|
|
||||||
mPostprocessedBackground->initFromPixels(processedTexture,
|
mPostprocessedBackground->initFromPixels(processedTexture,
|
||||||
Renderer::getScreenWidth(), Renderer::getScreenHeight());
|
Renderer::getScreenWidth(), Renderer::getScreenHeight());
|
||||||
|
|
Loading…
Reference in a new issue