Skip to content

Instantly share code, notes, and snippets.

@ITotalJustice
Created December 16, 2024 00:37
Show Gist options
  • Save ITotalJustice/d5e82ba601ca13b638af9b00e33a4a86 to your computer and use it in GitHub Desktop.
Save ITotalJustice/d5e82ba601ca13b638af9b00e33a4a86 to your computer and use it in GitHub Desktop.
using PathPair = std::pair<std::string_view, std::string_view>;
constexpr PathPair PATHS[]{
PathPair{"3do", "The 3DO Company - 3DO"},
PathPair{"atari800", "Atari - 8-bit"},
PathPair{"atari2600", "Atari - 2600"},
PathPair{"atari5200", "Atari - 5200"},
PathPair{"atari7800", "Atari - 7800"},
PathPair{"atarilynx", "Atari - Lynx"},
PathPair{"atarijaguar", "Atari - Jaguar"},
PathPair{"atarijaguarcd", ""},
PathPair{"n3ds", "Nintendo - Nintendo 3DS"},
PathPair{"n64", "Nintendo - Nintendo 64"},
PathPair{"nds", "Nintendo - Nintendo DS"},
PathPair{"fds", "Nintendo - Famicom Disk System"},
PathPair{"nes", "Nintendo - Nintendo Entertainment System"},
PathPair{"pokemini", "Nintendo - Pokemon Mini"},
PathPair{"gb", "Nintendo - Game Boy"},
PathPair{"gba", "Nintendo - Game Boy Advance"},
PathPair{"gbc", "Nintendo - Game Boy Color"},
PathPair{"virtualboy", "Nintendo - Virtual Boy"},
PathPair{"gameandwatch", ""},
PathPair{"sega32x", "Sega - 32X"},
PathPair{"segacd", "Sega - Mega CD - Sega CD"},
PathPair{"dreamcast", "Sega - Dreamcast"},
PathPair{"gamegear", "Sega - Game Gear"},
PathPair{"genesis", "Sega - Mega Drive - Genesis"},
PathPair{"mastersystem", "Sega - Master System - Mark III"},
PathPair{"megadrive", "Sega - Mega Drive - Genesis"},
PathPair{"saturn", "Sega - Saturn"},
PathPair{"sg-1000", "Sega - SG-1000"},
PathPair{"psx", "Sony - PlayStation"},
PathPair{"psp", "Sony - PlayStation Portable"},
PathPair{"snes", "Nintendo - Super Nintendo Entertainment System"},
PathPair{"pico8", "Sega - PICO"},
PathPair{"wonderswan", "Bandai - WonderSwan"},
PathPair{"wonderswancolor", "Bandai - WonderSwan Color"},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment