mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
UI: Show title ID in info panel
Add a way to easily get the title ID of a game. For Wii titles, it's sometimes more useful to know than the game ID.
This commit is contained in:
@ -32,7 +32,10 @@ QGroupBox* InfoWidget::CreateISODetails()
|
||||
|
||||
QLineEdit* file_path = CreateValueDisplay(m_game.GetFilePath());
|
||||
QLineEdit* internal_name = CreateValueDisplay(m_game.GetInternalName());
|
||||
QLineEdit* game_id = CreateValueDisplay(m_game.GetGameID());
|
||||
QString game_id_string = m_game.GetGameID();
|
||||
if (const u64 title_id = m_game.GetTitleID())
|
||||
game_id_string += QStringLiteral(" (%1)").arg(title_id, 16, 16, QLatin1Char('0'));
|
||||
QLineEdit* game_id = CreateValueDisplay(game_id_string);
|
||||
QLineEdit* country = CreateValueDisplay(m_game.GetCountry());
|
||||
QLineEdit* maker = CreateValueDisplay(m_game.GetMaker());
|
||||
QLineEdit* maker_id = CreateValueDisplay(QStringLiteral("0x") + m_game.GetMakerID());
|
||||
|
Reference in New Issue
Block a user