mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Fix ScreenScraper search by filename
This commit is contained in:
parent
2fb5881fb6
commit
1ee09bcca8
|
@ -125,11 +125,7 @@ void screenscraper_generate_scraper_requests(const ScraperSearchParams& params,
|
|||
|
||||
ScreenScraperRequest::ScreenScraperConfig ssConfig;
|
||||
|
||||
std::string cleanName = params.nameOverride;
|
||||
if (cleanName.empty())
|
||||
cleanName = params.game->getCleanName();
|
||||
|
||||
path = ssConfig.getGameSearchUrl(cleanName);
|
||||
path = ssConfig.getGameSearchUrl(params.game->getFileName());
|
||||
auto& platforms = params.system->getPlatformIds();
|
||||
|
||||
for (auto platformIt = platforms.cbegin(); platformIt != platforms.cend(); platformIt++)
|
||||
|
|
Loading…
Reference in a new issue