mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Add Triforce platform and preliminary boot.id parsing
This commit is contained in:
@ -93,6 +93,7 @@ QGroupBox* InfoWidget::CreateGameDetails()
|
||||
const QString game_name = QString::fromStdString(m_game.GetInternalName());
|
||||
|
||||
bool is_disc_based = m_game.GetPlatform() == DiscIO::Platform::GameCubeDisc ||
|
||||
m_game.GetPlatform() == DiscIO::Platform::Triforce ||
|
||||
m_game.GetPlatform() == DiscIO::Platform::WiiDisc;
|
||||
|
||||
QLineEdit* internal_name =
|
||||
|
@ -303,6 +303,8 @@ bool GameListModel::ShouldDisplayGameListItem(int index) const
|
||||
{
|
||||
case DiscIO::Platform::GameCubeDisc:
|
||||
return Config::Get(Config::MAIN_GAMELIST_LIST_GC);
|
||||
case DiscIO::Platform::Triforce:
|
||||
return Config::Get(Config::MAIN_GAMELIST_LIST_TRI);
|
||||
case DiscIO::Platform::WiiDisc:
|
||||
return Config::Get(Config::MAIN_GAMELIST_LIST_WII);
|
||||
case DiscIO::Platform::WiiWAD:
|
||||
|
@ -726,6 +726,7 @@ void MenuBar::AddShowPlatformsMenu(QMenu* view_menu)
|
||||
static const QMap<QString, const Config::Info<bool>*> platform_map{
|
||||
{tr("Show Wii"), &Config::MAIN_GAMELIST_LIST_WII},
|
||||
{tr("Show GameCube"), &Config::MAIN_GAMELIST_LIST_GC},
|
||||
{tr("Show Triforce"), &Config::MAIN_GAMELIST_LIST_TRI},
|
||||
{tr("Show WAD"), &Config::MAIN_GAMELIST_LIST_WAD},
|
||||
{tr("Show ELF/DOL"), &Config::MAIN_GAMELIST_LIST_ELF_DOL}};
|
||||
|
||||
|
@ -80,7 +80,7 @@ void Resources::Init()
|
||||
m_svg_supported = QImageReader::supportedImageFormats().contains("svg");
|
||||
|
||||
for (std::string_view platform :
|
||||
{"Platform_Gamecube", "Platform_Wii", "Platform_Wad", "Platform_File"})
|
||||
{"Platform_Gamecube", "Platform_Triforce", "Platform_Wii", "Platform_Wad", "Platform_File"})
|
||||
{
|
||||
m_platforms.append(GetResourceIcon(platform));
|
||||
}
|
||||
|
Reference in New Issue
Block a user