mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +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
|
||||
// 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();
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue