mirror of
https://github.com/Aloshi/EmulationStation.git
synced 2024-05-31 18:47:33 -04:00
thegamesdb legacy API fix
thegamesdb.net changed their api but kept the legacy one here; legacy.gamesdb.net changed
This commit is contained in:
parent
646bede3d9
commit
71daa490b6
|
@ -67,7 +67,7 @@ const std::map<PlatformId, const char*> gamesdb_platformid_map = boost::assign::
|
||||||
void thegamesdb_generate_scraper_requests(const ScraperSearchParams& params, std::queue< std::unique_ptr<ScraperRequest> >& requests,
|
void thegamesdb_generate_scraper_requests(const ScraperSearchParams& params, std::queue< std::unique_ptr<ScraperRequest> >& requests,
|
||||||
std::vector<ScraperSearchResult>& results)
|
std::vector<ScraperSearchResult>& results)
|
||||||
{
|
{
|
||||||
std::string path = "thegamesdb.net/api/GetGame.php?";
|
std::string path = "legacy.thegamesdb.net/api/GetGame.php?";
|
||||||
|
|
||||||
std::string cleanName = params.nameOverride;
|
std::string cleanName = params.nameOverride;
|
||||||
if(cleanName.empty())
|
if(cleanName.empty())
|
||||||
|
|
Loading…
Reference in a new issue