diff --git a/src/duckstation-qt/gamelistmodel.cpp b/src/duckstation-qt/gamelistmodel.cpp index 685c6a7d8..3518ed734 100644 --- a/src/duckstation-qt/gamelistmodel.cpp +++ b/src/duckstation-qt/gamelistmodel.cpp @@ -225,6 +225,8 @@ QVariant GameListModel::data(const QModelIndex& index, int role) const return m_type_disc_pixmap; case GameListEntryType::Playlist: return m_type_playlist_pixmap; + case GameListEntryType::PSF: + return m_type_psf_pixmap; case GameListEntryType::PSExe: default: return m_type_exe_pixmap; @@ -239,6 +241,8 @@ QVariant GameListModel::data(const QModelIndex& index, int role) const return m_region_jp_pixmap; case DiscRegion::NTSC_U: return m_region_us_pixmap; + case DiscRegion::Other: + return m_region_other_pixmap; case DiscRegion::PAL: default: return m_region_eu_pixmap; @@ -401,9 +405,11 @@ void GameListModel::loadCommonImages() m_type_disc_pixmap = QIcon(QStringLiteral(":/icons/media-optical-24.png")).pixmap(QSize(24, 24)); m_type_exe_pixmap = QIcon(QStringLiteral(":/icons/applications-system-24.png")).pixmap(QSize(24, 24)); m_type_playlist_pixmap = QIcon(QStringLiteral(":/icons/address-book-new-22.png")).pixmap(QSize(22, 22)); + m_type_psf_pixmap = QIcon(QStringLiteral(":/icons/multimedia-player.png")).pixmap(QSize(22, 22)); m_region_eu_pixmap = QIcon(QStringLiteral(":/icons/flag-eu.png")).pixmap(QSize(42, 30)); m_region_jp_pixmap = QIcon(QStringLiteral(":/icons/flag-jp.png")).pixmap(QSize(42, 30)); m_region_us_pixmap = QIcon(QStringLiteral(":/icons/flag-uc.png")).pixmap(QSize(42, 30)); + m_region_other_pixmap = QIcon(QStringLiteral(":/icons/flag-other.png")).pixmap(QSize(42, 30)); for (int i = 0; i < static_cast(GameListCompatibilityRating::Count); i++) m_compatibiliy_pixmaps[i].load(QStringLiteral(":/icons/star-%1.png").arg(i)); diff --git a/src/duckstation-qt/gamelistmodel.h b/src/duckstation-qt/gamelistmodel.h index 216fd0a86..8331be250 100644 --- a/src/duckstation-qt/gamelistmodel.h +++ b/src/duckstation-qt/gamelistmodel.h @@ -69,10 +69,12 @@ private: QPixmap m_type_disc_pixmap; QPixmap m_type_exe_pixmap; QPixmap m_type_playlist_pixmap; + QPixmap m_type_psf_pixmap; QPixmap m_region_jp_pixmap; QPixmap m_region_eu_pixmap; QPixmap m_region_us_pixmap; + QPixmap m_region_other_pixmap; std::array(GameListCompatibilityRating::Count)> m_compatibiliy_pixmaps; mutable std::unordered_map m_cover_pixmap_cache; diff --git a/src/duckstation-qt/resources/icons/flag-other.png b/src/duckstation-qt/resources/icons/flag-other.png new file mode 100644 index 000000000..fe5210eea Binary files /dev/null and b/src/duckstation-qt/resources/icons/flag-other.png differ diff --git a/src/duckstation-qt/resources/icons/flag-other@2x.png b/src/duckstation-qt/resources/icons/flag-other@2x.png new file mode 100644 index 000000000..0235da45b Binary files /dev/null and b/src/duckstation-qt/resources/icons/flag-other@2x.png differ diff --git a/src/duckstation-qt/resources/icons/multimedia-player.png b/src/duckstation-qt/resources/icons/multimedia-player.png new file mode 100644 index 000000000..15d835c72 Binary files /dev/null and b/src/duckstation-qt/resources/icons/multimedia-player.png differ diff --git a/src/duckstation-qt/resources/icons/multimedia-player@2x.png b/src/duckstation-qt/resources/icons/multimedia-player@2x.png new file mode 100644 index 000000000..17dbd6980 Binary files /dev/null and b/src/duckstation-qt/resources/icons/multimedia-player@2x.png differ diff --git a/src/duckstation-qt/resources/resources.qrc b/src/duckstation-qt/resources/resources.qrc index 7138f84e5..1d9ba5554 100644 --- a/src/duckstation-qt/resources/resources.qrc +++ b/src/duckstation-qt/resources/resources.qrc @@ -56,6 +56,8 @@ icons/flag-eu@2x.png icons/flag-jp.png icons/flag-jp@2x.png + icons/flag-other.png + icons/flag-other@2x.png icons/flag-uc.png icons/flag-uc@2x.png icons/flag-us.png @@ -88,6 +90,8 @@ icons/media-playback-start@2x.png icons/media-record.png icons/media-record@2x.png + icons/multimedia-player.png + icons/multimedia-player@2x.png icons/preferences-desktop-keyboard-shortcuts.png icons/preferences-desktop-keyboard-shortcuts@2x.png icons/preferences-system.png