add switch platform

This commit is contained in:
Sophia Hadash 2021-06-22 21:01:12 +02:00
parent 5efe3be338
commit 0e8b0bd7ae
6 changed files with 30 additions and 0 deletions

View file

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

View file

@ -127,6 +127,7 @@ 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

@ -107,6 +107,7 @@ 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},

View file

@ -1045,6 +1045,15 @@
<platform>supergrafx</platform>
<theme>supergrafx</theme>
</system>
<system>
<name>switch</name>
<fullname>Nintendo SWITCH</fullname>
<path>%ROMPATH%/switch</path>
<extension>.nsp .NSP .zip .ZIP .7z .nso .NSO .nro .NRO .nca .NCA .xci .XCI</extension>
<command>PLACEHOLDER %ROM%</command>
<platform>switch</platform>
<theme>switch</theme>
</system>
<system>
<name>tanodragon</name>
<fullname>Tano Dragon</fullname>

View file

@ -1045,6 +1045,15 @@
<platform>supergrafx</platform>
<theme>supergrafx</theme>
</system>
<system>
<name>switch</name>
<fullname>Nintendo SWITCH</fullname>
<path>%ROMPATH%/switch</path>
<extension>.nsp .NSP .zip .ZIP .7z .nso .NSO .nro .NRO .nca .NCA .xci .XCI</extension>
<command>/opt/yuzu/yuzu.AppImage %ROM%</command>
<platform>switch</platform>
<theme>switch</theme>
</system>
<system>
<name>tanodragon</name>
<fullname>Tano Dragon</fullname>

View file

@ -1045,6 +1045,15 @@
<platform>supergrafx</platform>
<theme>supergrafx</theme>
</system>
<system>
<name>switch</name>
<fullname>Nintendo SWITCH</fullname>
<path>%ROMPATH%/switch</path>
<extension>.nsp .NSP .zip .ZIP .7z .nso .NSO .nro .NRO .nca .NCA .xci .XCI</extension>
<command>PLACEHOLDER %ROM%</command>
<platform>switch</platform>
<theme>switch</theme>
</system>
<system>
<name>tanodragon</name>
<fullname>Tano Dragon</fullname>