From f27ac9d26b4eb7ebd144525866dbb6352a27ab86 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 14 May 2022 12:02:24 +0200 Subject: [PATCH] Added a new pcwindows platform for scraping PC (Windows) games. --- es-app/src/PlatformId.cpp | 1 + es-app/src/PlatformId.h | 1 + es-app/src/scrapers/GamesDBJSONScraper.cpp | 1 + es-app/src/scrapers/ScreenScraper.cpp | 1 + 4 files changed, 4 insertions(+) diff --git a/es-app/src/PlatformId.cpp b/es-app/src/PlatformId.cpp index f32c338a0..47d844fd2 100644 --- a/es-app/src/PlatformId.cpp +++ b/es-app/src/PlatformId.cpp @@ -90,6 +90,7 @@ namespace PlatformIds "pcengine", // NEC PC Engine / TurboGrafx-16 "pcenginecd", // NEC PC Engine CD / TurboGrafx-CD "pcfx", // NEC PC-FX + "pcwindows", // PC (Windows) "pico8", // PICO-8 game engine "pokemini", // Nintendo Pokémon Mini "ps2", // Sony PlayStation 2 diff --git a/es-app/src/PlatformId.h b/es-app/src/PlatformId.h index 7a25b9ec9..4a29a479a 100644 --- a/es-app/src/PlatformId.h +++ b/es-app/src/PlatformId.h @@ -89,6 +89,7 @@ namespace PlatformIds NEC_PC_ENGINE, NEC_PC_ENGINE_CD, NEC_PCFX, + PC_WINDOWS, GAMEENGINE_PICO8, NINTENDO_POKEMON_MINI, SONY_PLAYSTATION_2, diff --git a/es-app/src/scrapers/GamesDBJSONScraper.cpp b/es-app/src/scrapers/GamesDBJSONScraper.cpp index ba9c10420..a0edc5f01 100644 --- a/es-app/src/scrapers/GamesDBJSONScraper.cpp +++ b/es-app/src/scrapers/GamesDBJSONScraper.cpp @@ -93,6 +93,7 @@ namespace {DOS, "1"}, {GAMEENGINE_SCUMMVM, "1"}, {PC, "1"}, + {PC_WINDOWS, "1"}, {VALVE_STEAM, "1"}, {NEC_PCFX, "4930"}, {PHILIPS_CDI, "4917"}, diff --git a/es-app/src/scrapers/ScreenScraper.cpp b/es-app/src/scrapers/ScreenScraper.cpp index 6c6fa91df..8155180fe 100644 --- a/es-app/src/scrapers/ScreenScraper.cpp +++ b/es-app/src/scrapers/ScreenScraper.cpp @@ -89,6 +89,7 @@ namespace {BANDAI_SUFAMI_TURBO, 108}, {DOS, 135}, {PC, 135}, + {PC_WINDOWS, 138}, {VALVE_STEAM, 138}, {NEC_PCFX, 72}, {GAMEENGINE_PICO8, 234},