Fixed an issue with the PlatformId for Nintendo Switch.

This commit is contained in:
Leon Styhre 2021-06-23 17:52:33 +02:00
parent f25980f43b
commit 02832b7bd6
3 changed files with 3 additions and 3 deletions

View file

@ -109,7 +109,7 @@ namespace PlatformIds
"stratagus", // Stratagus game engine
"sufami", // Bandai SuFami Turbo
"supergrafx", // NEC SuperGrafx
"switch", // Nintendo SWITCH
"switch", // Nintendo Switch
"ti99", // Texas Instruments TI-99
"tic80", // TIC-80 game engine
"trs-80", // Tandy TRS-80

View file

@ -109,6 +109,7 @@ namespace PlatformIds
GAMEENGINE_STRATAGUS,
BANDAI_SUFAMI_TURBO,
NEC_SUPERGRAFX,
NINTENDO_SWITCH,
TEXAS_INSTRUMENTS_TI99,
GAMEENGINE_TIC80,
TANDY_TRS80,
@ -127,7 +128,6 @@ namespace PlatformIds
GAMEENGINE_Z_MACHINE,
SINCLAIR_ZX81_SINCLAR,
SINCLAIR_ZX_SPECTRUM,
SWITCH,
PLATFORM_IGNORE, // Do not allow scraping for this system.
PLATFORM_COUNT

View file

@ -80,6 +80,7 @@ const std::map<PlatformId, unsigned short> screenscraper_platformid_map {
{ NINTENDO_GAME_AND_WATCH, 52 },
{ NINTENDO_POKEMON_MINI, 211 },
{ NINTENDO_SATELLAVIEW, 107 },
{ NINTENDO_SWITCH, 225 },
{ BANDAI_SUFAMI_TURBO, 108 },
{ DOS, 135 },
{ PC, 135 },
@ -107,7 +108,6 @@ const std::map<PlatformId, unsigned short> screenscraper_platformid_map {
{ SONY_PLAYSTATION_PORTABLE, 61 },
{ SAMCOUPE, 213 },
{ SUPER_NINTENDO, 4 },
{ SWITCH, 225 },
{ NEC_SUPERGRAFX, 105 },
{ GAMEENGINE_TIC80, 222 },
{ NEC_PC_8800, 221},