Renamed the game system Nintendo GameCube from gamecube to gc.

This commit is contained in:
Leon Styhre 2021-02-07 15:28:23 +01:00
parent 10f34aa786
commit 7bf1e2d706
6 changed files with 41 additions and 41 deletions

View file

@ -13,7 +13,7 @@
namespace PlatformIds
{
std::vector<std::string> PlatformNames = {
std::vector<std::string> platformNames = {
"unknown", // Nothing set.
"3do", // 3DO
@ -49,11 +49,11 @@ namespace PlatformIds
"famicom", // Nintendo Family Computer
"fds", // Nintendo Famicom Disk System
"gameandwatch", // Nintendo Game and Watch
"gamecube", // Nintendo GameCube
"gamegear", // Sega Game Gear
"gb", // Nintendo Game Boy
"gba", // Nintendo Game Boy Advance
"gbc", // Nintendo Game Boy Color
"gc", // Nintendo GameCube
"genesis", // Sega Genesis
"gx4000", // Amstrad GX4000
"intellivision", // Mattel Electronics Intellivision
@ -132,7 +132,7 @@ namespace PlatformIds
return PLATFORM_UNKNOWN;
for (unsigned int i = 1; i < PLATFORM_COUNT; i++) {
if (PlatformNames[i] == str)
if (platformNames[i] == str)
return (PlatformId)i;
}
@ -141,6 +141,6 @@ namespace PlatformIds
const std::string getPlatformName(PlatformId id)
{
return PlatformNames[id];
return platformNames[id];
}
}

View file

@ -49,11 +49,11 @@ namespace PlatformIds
FAMICOM,
FAMICOM_DISK_SYSTEM,
NINTENDO_GAME_AND_WATCH,
NINTENDO_GAMECUBE,
SEGA_GAME_GEAR,
GAME_BOY,
GAME_BOY_ADVANCE,
GAME_BOY_COLOR,
NINTENDO_GAMECUBE,
SEGA_GENESIS,
AMSTRAD_GX4000,
INTELLIVISION,

View file

@ -361,15 +361,6 @@
<platform>gameandwatch</platform>
<theme>gameandwatch</theme>
</system>
<system>
<name>gamecube</name>
<fullname>Nintendo GameCube</fullname>
<path>%ROMPATH%/gamecube</path>
<extension>.gcm .GCM .iso .ISO .wbfs .WBFS .ciso .CISO .gcz .GCZ .elf .ELF .dol .DOL .dff .DFF .tgc .TGC .wad .WAD .7z .7Z .zip .ZIP</extension>
<command>/Applications/RetroArch.app/Contents/MacOS/RetroArch -L %EMUPATH%/../Resources/cores/dolphin_libretro.dylib %ROM%</command>
<platform>gamecube</platform>
<theme>gc</theme>
</system>
<system>
<name>gamegear</name>
<fullname>Sega Game Gear</fullname>
@ -406,6 +397,15 @@
<platform>gbc</platform>
<theme>gbc</theme>
</system>
<system>
<name>gc</name>
<fullname>Nintendo GameCube</fullname>
<path>%ROMPATH%/gc</path>
<extension>.gcm .GCM .iso .ISO .wbfs .WBFS .ciso .CISO .gcz .GCZ .elf .ELF .dol .DOL .dff .DFF .tgc .TGC .wad .WAD .7z .7Z .zip .ZIP</extension>
<command>/Applications/RetroArch.app/Contents/MacOS/RetroArch -L %EMUPATH%/../Resources/cores/dolphin_libretro.dylib %ROM%</command>
<platform>gc</platform>
<theme>gc</theme>
</system>
<system>
<name>genesis</name>
<fullname>Sega Genesis</fullname>

View file

@ -361,15 +361,6 @@
<platform>gameandwatch</platform>
<theme>gameandwatch</theme>
</system>
<system>
<name>gamecube</name>
<fullname>Nintendo GameCube</fullname>
<path>%ROMPATH%/gamecube</path>
<extension>.gcm .GCM .iso .ISO .wbfs .WBFS .ciso .CISO .gcz .GCZ .elf .ELF .dol .DOL .dff .DFF .tgc .TGC .wad .WAD .7z .7Z .zip .ZIP</extension>
<command>retroarch -L %COREPATH%/dolphin_libretro.so %ROM%</command>
<platform>gamecube</platform>
<theme>gc</theme>
</system>
<system>
<name>gamegear</name>
<fullname>Sega Game Gear</fullname>
@ -406,6 +397,15 @@
<platform>gbc</platform>
<theme>gbc</theme>
</system>
<system>
<name>gc</name>
<fullname>Nintendo GameCube</fullname>
<path>%ROMPATH%/gc</path>
<extension>.gcm .GCM .iso .ISO .wbfs .WBFS .ciso .CISO .gcz .GCZ .elf .ELF .dol .DOL .dff .DFF .tgc .TGC .wad .WAD .7z .7Z .zip .ZIP</extension>
<command>retroarch -L %COREPATH%/dolphin_libretro.so %ROM%</command>
<platform>gc</platform>
<theme>gc</theme>
</system>
<system>
<name>genesis</name>
<fullname>Sega Genesis</fullname>

View file

@ -361,15 +361,6 @@
<platform>gameandwatch</platform>
<theme>gameandwatch</theme>
</system>
<system>
<name>gamecube</name>
<fullname>Nintendo GameCube</fullname>
<path>%ROMPATH%/gamecube</path>
<extension>.gcm .GCM .iso .ISO .wbfs .WBFS .ciso .CISO .gcz .GCZ .elf .ELF .dol .DOL .dff .DFF .tgc .TGC .wad .WAD .7z .7Z .zip .ZIP</extension>
<command>flatpak run org.libretro.RetroArch -L %COREPATH%/dolphin_libretro.so %ROM%</command>
<platform>gamecube</platform>
<theme>gc</theme>
</system>
<system>
<name>gamegear</name>
<fullname>Sega Game Gear</fullname>
@ -406,6 +397,15 @@
<platform>gbc</platform>
<theme>gbc</theme>
</system>
<system>
<name>gc</name>
<fullname>Nintendo GameCube</fullname>
<path>%ROMPATH%/gc</path>
<extension>.gcm .GCM .iso .ISO .wbfs .WBFS .ciso .CISO .gcz .GCZ .elf .ELF .dol .DOL .dff .DFF .tgc .TGC .wad .WAD .7z .7Z .zip .ZIP</extension>
<command>flatpak run org.libretro.RetroArch -L %COREPATH%/dolphin_libretro.so %ROM%</command>
<platform>gc</platform>
<theme>gc</theme>
</system>
<system>
<name>genesis</name>
<fullname>Sega Genesis</fullname>

View file

@ -361,15 +361,6 @@
<platform>gameandwatch</platform>
<theme>gameandwatch</theme>
</system>
<system>
<name>gamecube</name>
<fullname>Nintendo GameCube</fullname>
<path>%ROMPATH%\gamecube</path>
<extension>.gcm .GCM .iso .ISO .wbfs .WBFS .ciso .CISO .gcz .GCZ .elf .ELF .dol .DOL .dff .DFF .tgc .TGC .wad .WAD .7z .7Z .zip .ZIP</extension>
<command>retroarch.exe -L %EMUPATH%\cores\dolphin_libretro.dll %ROM%</command>
<platform>gamecube</platform>
<theme>gc</theme>
</system>
<system>
<name>gamegear</name>
<fullname>Sega Game Gear</fullname>
@ -406,6 +397,15 @@
<platform>gbc</platform>
<theme>gbc</theme>
</system>
<system>
<name>gc</name>
<fullname>Nintendo GameCube</fullname>
<path>%ROMPATH%\gc</path>
<extension>.gcm .GCM .iso .ISO .wbfs .WBFS .ciso .CISO .gcz .GCZ .elf .ELF .dol .DOL .dff .DFF .tgc .TGC .wad .WAD .7z .7Z .zip .ZIP</extension>
<command>retroarch.exe -L %EMUPATH%\cores\dolphin_libretro.dll %ROM%</command>
<platform>gc</platform>
<theme>gc</theme>
</system>
<system>
<name>genesis</name>
<fullname>Sega Genesis</fullname>