From c3252d082b6ebc6b7b99dbe8f2d5ded0db5dad59 Mon Sep 17 00:00:00 2001 From: Aloshi Date: Thu, 5 Jun 2014 15:53:01 -0500 Subject: [PATCH] Added Amstrad CPC platform. --- src/PlatformId.cpp | 3 ++- src/PlatformId.h | 1 + src/scrapers/GamesDBScraper.cpp | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/PlatformId.cpp b/src/PlatformId.cpp index d3e22b5b3..95fec5c64 100644 --- a/src/PlatformId.cpp +++ b/src/PlatformId.cpp @@ -10,8 +10,9 @@ namespace PlatformIds "3do", "amiga", - "arcade", + "amstradcpc", "apple2", + "arcade", "atari800", "atari2600", "atari5200", diff --git a/src/PlatformId.h b/src/PlatformId.h index 662de65dc..f9572ab9d 100644 --- a/src/PlatformId.h +++ b/src/PlatformId.h @@ -10,6 +10,7 @@ namespace PlatformIds THREEDO, // name can't start with a constant AMIGA, + AMSTRAD_CPC, APPLE_II, ARCADE, ATARI_800, diff --git a/src/scrapers/GamesDBScraper.cpp b/src/scrapers/GamesDBScraper.cpp index c569595d0..2ce893995 100644 --- a/src/scrapers/GamesDBScraper.cpp +++ b/src/scrapers/GamesDBScraper.cpp @@ -11,13 +11,17 @@ using namespace PlatformIds; const std::map gamesdb_platformid_map = boost::assign::map_list_of (THREEDO, "3DO") (AMIGA, "Amiga") + (AMSTRAD_CPC, "Amstrad CPC") + // missing apple2 (ARCADE, "Arcade") + // missing atari 800 (ATARI_2600, "Atari 2600") (ATARI_5200, "Atari 5200") (ATARI_7800, "Atari 7800") (ATARI_JAGUAR, "Atari Jaguar") (ATARI_JAGUAR_CD, "Atari Jaguar CD") (ATARI_LYNX, "Atari Lynx") + // missing atari ST/STE/Falcon (ATARI_XE, "Atari XE") (COLECOVISION, "Colecovision") (COMMODORE_64, "Commodore 64") @@ -50,6 +54,7 @@ const std::map gamesdb_platformid_map = boost::assign:: (PLAYSTATION, "Sony Playstation") (PLAYSTATION_2, "Sony Playstation 2") (PLAYSTATION_3, "Sony Playstation 3") + (PLAYSTATION_4, "Sony Playstation 4") (PLAYSTATION_VITA, "Sony Playstation Vita") (PLAYSTATION_PORTABLE, "Sony PSP") (SUPER_NINTENDO, "Super Nintendo (SNES)")