From 330f45d5fe84db5c989e8785013f2a9c690685cd Mon Sep 17 00:00:00 2001 From: Aloshi Date: Wed, 14 May 2014 17:24:01 -0500 Subject: [PATCH] Added ZX Spectrum to PlatformIds.h and TheGamesDB scraper. --- src/PlatformId.h | 3 ++- src/scrapers/GamesDBScraper.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/PlatformId.h b/src/PlatformId.h index 40483dbb3..ca22fe511 100644 --- a/src/PlatformId.h +++ b/src/PlatformId.h @@ -49,7 +49,8 @@ namespace PlatformIds PLAYSTATION_PORTABLE = 41, SUPER_NINTENDO = 42, TURBOGRAFX_16 = 43, + ZX_SPECTRUM = 44, - PLATFORM_COUNT = 44 + PLATFORM_COUNT = 45 }; } diff --git a/src/scrapers/GamesDBScraper.cpp b/src/scrapers/GamesDBScraper.cpp index 83a04d3f2..10be75df4 100644 --- a/src/scrapers/GamesDBScraper.cpp +++ b/src/scrapers/GamesDBScraper.cpp @@ -52,7 +52,8 @@ const std::map gamesdb_platformid_map = boost::assign:: (PLAYSTATION_VITA, "Sony Playstation Vita") (PLAYSTATION_PORTABLE, "Sony PSP") (SUPER_NINTENDO, "Super Nintendo (SNES)") - (TURBOGRAFX_16, "TurboGrafx 16"); + (TURBOGRAFX_16, "TurboGrafx 16") + (ZX_SPECTRUM, "Sinclair ZX Spectrum"); std::unique_ptr GamesDBScraper::getResultsAsync(const ScraperSearchParams& params)