diff --git a/pcsx2-qt/GameList/GameListModel.cpp b/pcsx2-qt/GameList/GameListModel.cpp index 22fd367361..23aad30f21 100644 --- a/pcsx2-qt/GameList/GameListModel.cpp +++ b/pcsx2-qt/GameList/GameListModel.cpp @@ -286,12 +286,64 @@ QVariant GameListModel::data(const QModelIndex& index, int role) const { switch (ge->region) { + case GameList::Region::NTSC_B: + return m_region_b_pixmap; + case GameList::Region::NTSC_C: + return m_region_c_pixmap; + case GameList::Region::NTSC_HK: + return m_region_hk_pixmap; case GameList::Region::NTSC_J: return m_region_jp_pixmap; - case GameList::Region::NTSC_UC: + case GameList::Region::NTSC_K: + return m_region_k_pixmap; + case GameList::Region::NTSC_T: + return m_region_t_pixmap; + case GameList::Region::NTSC_U: return m_region_us_pixmap; case GameList::Region::PAL: return m_region_eu_pixmap; + case GameList::Region::PAL_A: + return m_region_a_pixmap; + case GameList::Region::PAL_AF: + return m_region_af_pixmap; + case GameList::Region::PAL_AU: + return m_region_au_pixmap; + case GameList::Region::PAL_BE: + return m_region_be_pixmap; + case GameList::Region::PAL_E: + return m_region_eu_pixmap; + case GameList::Region::PAL_F: + return m_region_f_pixmap; + case GameList::Region::PAL_FI: + return m_region_fi_pixmap; + case GameList::Region::PAL_G: + return m_region_g_pixmap; + case GameList::Region::PAL_GR: + return m_region_gr_pixmap; + case GameList::Region::PAL_I: + return m_region_i_pixmap; + case GameList::Region::PAL_IN: + return m_region_in_pixmap; + case GameList::Region::PAL_M: + return m_region_eu_pixmap; + case GameList::Region::PAL_NL: + return m_region_nl_pixmap; + case GameList::Region::PAL_NO: + return m_region_no_pixmap; + case GameList::Region::PAL_P: + return m_region_p_pixmap; + case GameList::Region::PAL_R: + return m_region_r_pixmap; + case GameList::Region::PAL_S: + return m_region_s_pixmap; + case GameList::Region::PAL_SC: + return m_region_sc_pixmap; + case GameList::Region::PAL_SW: + return m_region_sw_pixmap; + case GameList::Region::PAL_SWI: + return m_region_swi_pixmap; + case GameList::Region::PAL_UK: + return m_region_uk_pixmap; case GameList::Region::Other: default: return m_region_other_pixmap; @@ -470,6 +522,28 @@ void GameListModel::loadCommonImages() 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-us.png")).pixmap(QSize(42, 30)); + m_region_a_pixmap = QIcon(QStringLiteral(":/icons/flag-a.png")).pixmap(QSize(42, 30)); + m_region_af_pixmap = QIcon(QStringLiteral(":/icons/flag-af.png")).pixmap(QSize(42, 30)); + m_region_au_pixmap = QIcon(QStringLiteral(":/icons/flag-au.png")).pixmap(QSize(42, 30)); + m_region_b_pixmap = QIcon(QStringLiteral(":/icons/flag-b.png")).pixmap(QSize(42, 30)); + m_region_be_pixmap = QIcon(QStringLiteral(":/icons/flag-be.png")).pixmap(QSize(42, 30)); + m_region_c_pixmap = QIcon(QStringLiteral(":/icons/flag-c.png")).pixmap(QSize(42, 30)); + m_region_f_pixmap = QIcon(QStringLiteral(":/icons/flag-f.png")).pixmap(QSize(42, 30)); + m_region_fi_pixmap = QIcon(QStringLiteral(":/icons/flag-fi.png")).pixmap(QSize(42, 30)); + m_region_g_pixmap = QIcon(QStringLiteral(":/icons/flag-g.png")).pixmap(QSize(42, 30)); + m_region_gr_pixmap = QIcon(QStringLiteral(":/icons/flag-gr.png")).pixmap(QSize(42, 30)); + m_region_hk_pixmap = QIcon(QStringLiteral(":/icons/flag-hk.png")).pixmap(QSize(42, 30)); + m_region_i_pixmap = QIcon(QStringLiteral(":/icons/flag-i.png")).pixmap(QSize(42, 30)); + m_region_in_pixmap = QIcon(QStringLiteral(":/icons/flag-in.png")).pixmap(QSize(42, 30)); + m_region_k_pixmap = QIcon(QStringLiteral(":/icons/flag-k.png")).pixmap(QSize(42, 30)); + m_region_nl_pixmap = QIcon(QStringLiteral(":/icons/flag-nl.png")).pixmap(QSize(42, 30)); + m_region_no_pixmap = QIcon(QStringLiteral(":/icons/flag-no.png")).pixmap(QSize(42, 30)); + m_region_p_pixmap = QIcon(QStringLiteral(":/icons/flag-p.png")).pixmap(QSize(42, 30)); + m_region_r_pixmap = QIcon(QStringLiteral(":/icons/flag-r.png")).pixmap(QSize(42, 30)); + m_region_s_pixmap = QIcon(QStringLiteral(":/icons/flag-s.png")).pixmap(QSize(42, 30)); + m_region_sc_pixmap = QIcon(QStringLiteral(":/icons/flag-sc.png")).pixmap(QSize(42, 30)); + m_region_sw_pixmap = QIcon(QStringLiteral(":/icons/flag-sw.png")).pixmap(QSize(42, 30)); + m_region_swi_pixmap = QIcon(QStringLiteral(":/icons/flag-swi.png")).pixmap(QSize(42, 30)); m_region_other_pixmap = QIcon(QStringLiteral(":/icons/flag-other.png")).pixmap(QSize(42, 30)); for (u32 i = 1; i < GameList::CompatibilityRatingCount; i++) diff --git a/pcsx2-qt/GameList/GameListModel.h b/pcsx2-qt/GameList/GameListModel.h index 93c533e741..86866116b4 100644 --- a/pcsx2-qt/GameList/GameListModel.h +++ b/pcsx2-qt/GameList/GameListModel.h @@ -85,11 +85,35 @@ private: QPixmap m_type_exe_pixmap; QPixmap m_type_playlist_pixmap; - QPixmap m_region_jp_pixmap; + QPixmap m_region_a_pixmap; + QPixmap m_region_af_pixmap; + QPixmap m_region_au_pixmap; + QPixmap m_region_b_pixmap; + QPixmap m_region_be_pixmap; + QPixmap m_region_c_pixmap; QPixmap m_region_eu_pixmap; - QPixmap m_region_us_pixmap; + QPixmap m_region_f_pixmap; + QPixmap m_region_fi_pixmap; + QPixmap m_region_g_pixmap; + QPixmap m_region_gr_pixmap; + QPixmap m_region_hk_pixmap; + QPixmap m_region_i_pixmap; + QPixmap m_region_jp_pixmap; + QPixmap m_region_in_pixmap; + QPixmap m_region_k_pixmap; + QPixmap m_region_nl_pixmap; + QPixmap m_region_no_pixmap; QPixmap m_region_other_pixmap; - + QPixmap m_region_p_pixmap; + QPixmap m_region_r_pixmap; + QPixmap m_region_s_pixmap; + QPixmap m_region_t_pixmap; + QPixmap m_region_uk_pixmap; + QPixmap m_region_us_pixmap; + QPixmap m_region_sc_pixmap; + QPixmap m_region_sw_pixmap; + QPixmap m_region_swi_pixmap; + QPixmap m_placeholder_pixmap; std::array(GameList::CompatibilityRatingCount)> m_compatibility_pixmaps; diff --git a/pcsx2-qt/Settings/GameSummaryWidget.ui b/pcsx2-qt/Settings/GameSummaryWidget.ui index 8bb47a868a..2d2241eb8a 100644 --- a/pcsx2-qt/Settings/GameSummaryWidget.ui +++ b/pcsx2-qt/Settings/GameSummaryWidget.ui @@ -96,11 +96,29 @@ - NTSC-U/C (US/Canada) + NTSC-B (Brazil) - :/icons/flag-us.png:/icons/flag-us.png + :/icons/flag-b.png:/icons/flag-b.png + + + + + NTSC-C (China) + + + + :/icons/flag-c.png:/icons/flag-c.png + + + + + NTSC-HK (Hong Kong) + + + + :/icons/flag-hk.png:/icons/flag-hk.png @@ -114,11 +132,29 @@ - PAL (Europe/Australia) + NTSC-K (Korea) - :/icons/flag-eu.png:/icons/flag-eu.png + :/icons/flag-k.png:/icons/flag-k.png + + + + + NTSC-T (Taiwan) + + + + :/icons/flag-t.png:/icons/flag-t.png + + + + + NTSC-U (US) + + + + :/icons/flag-us.png:/icons/flag-us.png @@ -130,6 +166,204 @@ :/icons/flag-other.png:/icons/flag-other.png + + + PAL (Europe) + + + + :/icons/flag-eu.png:/icons/flag-eu.png + + + + + PAL-A (Australia) + + + + :/icons/flag-a.png:/icons/flag-a.png + + + + + PAL-AF (South Africa) + + + + :/icons/flag-af.png:/icons/flag-af.png + + + + + PAL-AU (Austria) + + + + :/icons/flag-au.png:/icons/flag-au.png + + + + + PAL-BE (Belgium) + + + + :/icons/flag-be.png:/icons/flag-be.png + + + + + PAL-E (Europe/Australia) + + + + :/icons/flag-eu.png:/icons/flag-eu.png + + + + + PAL-F (France) + + + + :/icons/flag-f.png:/icons/flag-f.png + + + + + PAL-FI (Finland) + + + + :/icons/flag-fi.png:/icons/flag-fi.png + + + + + PAL-G (Germany) + + + + :/icons/flag-g.png:/icons/flag-g.png + + + + + PAL-GR (Greece) + + + + :/icons/flag-gr.png:/icons/flag-gr.png + + + + + PAL-I (Italy) + + + + :/icons/flag-i.png:/icons/flag-i.png + + + + + PAL-IN (India) + + + + :/icons/flag-in.png:/icons/flag-in.png + + + + + PAL-NL (Netherlands) + + + + :/icons/flag-nl.png:/icons/flag-nl.png + + + + + PAL-M (Europe/Australia) + + + + :/icons/flag-eu.png:/icons/flag-eu.png + + + + + PAL-NO (Norway) + + + + :/icons/flag-no.png:/icons/flag-no.png + + + + + PAL-P (Portugal) + + + + :/icons/flag-p.png:/icons/flag-p.png + + + + + PAL-R (Russia) + + + + :/icons/flag-r.png:/icons/flag-r.png + + + + + PAL-S (Spain) + + + + :/icons/flag-s.png:/icons/flag-s.png + + + + + PAL-SC (Scandinavia) + + + + :/icons/flag-sc.png:/icons/flag-sc.png + + + + + PAL-SW (Sweden) + + + + :/icons/flag-sw.png:/icons/flag-sw.png + + + + + PAL-SWI (Switzerland) + + + + :/icons/flag-swi.png:/icons/flag-swi.png + + + + + PAL-UK (United Kingdom) + + + + :/icons/flag-uk.png:/icons/flag-uk.png + + diff --git a/pcsx2-qt/resources/icons/AppIconLarge.png b/pcsx2-qt/resources/icons/AppIconLarge.png index c3a80e5c7f..ed05303970 100644 Binary files a/pcsx2-qt/resources/icons/AppIconLarge.png and b/pcsx2-qt/resources/icons/AppIconLarge.png differ diff --git a/pcsx2-qt/resources/icons/QT.png b/pcsx2-qt/resources/icons/QT.png index 38e1dd4506..a59b53f4ab 100644 Binary files a/pcsx2-qt/resources/icons/QT.png and b/pcsx2-qt/resources/icons/QT.png differ diff --git a/pcsx2-qt/resources/icons/address-book-new-22.png b/pcsx2-qt/resources/icons/address-book-new-22.png index 0ef76c3e73..286ea84013 100644 Binary files a/pcsx2-qt/resources/icons/address-book-new-22.png and b/pcsx2-qt/resources/icons/address-book-new-22.png differ diff --git a/pcsx2-qt/resources/icons/applications-system-24.png b/pcsx2-qt/resources/icons/applications-system-24.png index c1df8df925..3bf5505919 100644 Binary files a/pcsx2-qt/resources/icons/applications-system-24.png and b/pcsx2-qt/resources/icons/applications-system-24.png differ diff --git a/pcsx2-qt/resources/icons/discord.png b/pcsx2-qt/resources/icons/discord.png index 041c043e6f..76d97e93f2 100644 Binary files a/pcsx2-qt/resources/icons/discord.png and b/pcsx2-qt/resources/icons/discord.png differ diff --git a/pcsx2-qt/resources/icons/flag-af.png b/pcsx2-qt/resources/icons/flag-af.png new file mode 100644 index 0000000000..4df44bc1f2 Binary files /dev/null and b/pcsx2-qt/resources/icons/flag-af.png differ diff --git a/pcsx2-qt/resources/icons/flag-au.png b/pcsx2-qt/resources/icons/flag-au.png new file mode 100644 index 0000000000..fdf4042c25 Binary files /dev/null and b/pcsx2-qt/resources/icons/flag-au.png differ diff --git a/pcsx2-qt/resources/icons/flag-b.png b/pcsx2-qt/resources/icons/flag-b.png index fd9012d433..7ca689aac0 100644 Binary files a/pcsx2-qt/resources/icons/flag-b.png and b/pcsx2-qt/resources/icons/flag-b.png differ diff --git a/pcsx2-qt/resources/icons/flag-be.png b/pcsx2-qt/resources/icons/flag-be.png index 72dd7869cf..3adf04483e 100644 Binary files a/pcsx2-qt/resources/icons/flag-be.png and b/pcsx2-qt/resources/icons/flag-be.png differ diff --git a/pcsx2-qt/resources/icons/flag-eu.png b/pcsx2-qt/resources/icons/flag-eu.png index 559238bf1c..55da529a01 100644 Binary files a/pcsx2-qt/resources/icons/flag-eu.png and b/pcsx2-qt/resources/icons/flag-eu.png differ diff --git a/pcsx2-qt/resources/icons/flag-f.png b/pcsx2-qt/resources/icons/flag-f.png index 1f114168d1..9a8abe6bc5 100644 Binary files a/pcsx2-qt/resources/icons/flag-f.png and b/pcsx2-qt/resources/icons/flag-f.png differ diff --git a/pcsx2-qt/resources/icons/flag-g.png b/pcsx2-qt/resources/icons/flag-g.png index 4e0f6aeb17..46b560d82e 100644 Binary files a/pcsx2-qt/resources/icons/flag-g.png and b/pcsx2-qt/resources/icons/flag-g.png differ diff --git a/pcsx2-qt/resources/icons/flag-hk.png b/pcsx2-qt/resources/icons/flag-hk.png index 5eb6db32c5..768fb6d04e 100644 Binary files a/pcsx2-qt/resources/icons/flag-hk.png and b/pcsx2-qt/resources/icons/flag-hk.png differ diff --git a/pcsx2-qt/resources/icons/flag-in.png b/pcsx2-qt/resources/icons/flag-in.png new file mode 100644 index 0000000000..51e7059f0c Binary files /dev/null and b/pcsx2-qt/resources/icons/flag-in.png differ diff --git a/pcsx2-qt/resources/icons/flag-jp.png b/pcsx2-qt/resources/icons/flag-jp.png index 9537a6db71..f8f74b91c6 100644 Binary files a/pcsx2-qt/resources/icons/flag-jp.png and b/pcsx2-qt/resources/icons/flag-jp.png differ diff --git a/pcsx2-qt/resources/icons/flag-other.png b/pcsx2-qt/resources/icons/flag-other.png index 8ba972e36b..56cd47adee 100644 Binary files a/pcsx2-qt/resources/icons/flag-other.png and b/pcsx2-qt/resources/icons/flag-other.png differ diff --git a/pcsx2-qt/resources/icons/flag-p.png b/pcsx2-qt/resources/icons/flag-p.png index dc94c717c4..6e7b057fd5 100644 Binary files a/pcsx2-qt/resources/icons/flag-p.png and b/pcsx2-qt/resources/icons/flag-p.png differ diff --git a/pcsx2-qt/resources/icons/flag-s.png b/pcsx2-qt/resources/icons/flag-s.png index 5222f119f3..2c07dd028a 100644 Binary files a/pcsx2-qt/resources/icons/flag-s.png and b/pcsx2-qt/resources/icons/flag-s.png differ diff --git a/pcsx2-qt/resources/icons/flag-sc.png b/pcsx2-qt/resources/icons/flag-sc.png new file mode 100644 index 0000000000..a3fd9d1c7b Binary files /dev/null and b/pcsx2-qt/resources/icons/flag-sc.png differ diff --git a/pcsx2-qt/resources/icons/flag-swi.png b/pcsx2-qt/resources/icons/flag-swi.png index b26c449530..48bbb1a2ab 100644 Binary files a/pcsx2-qt/resources/icons/flag-swi.png and b/pcsx2-qt/resources/icons/flag-swi.png differ diff --git a/pcsx2-qt/resources/icons/flag-t.png b/pcsx2-qt/resources/icons/flag-t.png new file mode 100644 index 0000000000..bbd70c367e Binary files /dev/null and b/pcsx2-qt/resources/icons/flag-t.png differ diff --git a/pcsx2-qt/resources/icons/flag-us.png b/pcsx2-qt/resources/icons/flag-us.png index 09dd42f445..e8504f2712 100644 Binary files a/pcsx2-qt/resources/icons/flag-us.png and b/pcsx2-qt/resources/icons/flag-us.png differ diff --git a/pcsx2-qt/resources/icons/media-optical-24.png b/pcsx2-qt/resources/icons/media-optical-24.png index 1532faa0cd..367725b8bd 100644 Binary files a/pcsx2-qt/resources/icons/media-optical-24.png and b/pcsx2-qt/resources/icons/media-optical-24.png differ diff --git a/pcsx2-qt/resources/icons/media-optical-gear-24.png b/pcsx2-qt/resources/icons/media-optical-gear-24.png index c1e82f5e79..2789de0d19 100644 Binary files a/pcsx2-qt/resources/icons/media-optical-gear-24.png and b/pcsx2-qt/resources/icons/media-optical-gear-24.png differ diff --git a/pcsx2-qt/resources/icons/media-optical.png b/pcsx2-qt/resources/icons/media-optical.png index 1273880b1f..ba910f9592 100644 Binary files a/pcsx2-qt/resources/icons/media-optical.png and b/pcsx2-qt/resources/icons/media-optical.png differ diff --git a/pcsx2-qt/resources/icons/update.png b/pcsx2-qt/resources/icons/update.png index f4be6205d0..d7d21ccb04 100644 Binary files a/pcsx2-qt/resources/icons/update.png and b/pcsx2-qt/resources/icons/update.png differ diff --git a/pcsx2-qt/resources/resources.qrc b/pcsx2-qt/resources/resources.qrc index 37bb4fea1b..893e092c17 100644 --- a/pcsx2-qt/resources/resources.qrc +++ b/pcsx2-qt/resources/resources.qrc @@ -46,6 +46,8 @@ icons/black/index.theme icons/discord.png icons/flag-a.png + icons/flag-af.png + icons/flag-au.png icons/flag-b.png icons/flag-be.png icons/flag-c.png @@ -57,15 +59,19 @@ icons/flag-gr.png icons/flag-hk.png icons/flag-i.png + icons/flag-in.png icons/flag-jp.png icons/flag-k.png icons/flag-nl.png icons/flag-no.png icons/flag-other.png + icons/flag-p.png icons/flag-r.png icons/flag-s.png + icons/flag-sc.png icons/flag-sw.png icons/flag-swi.png + icons/flag-t.png icons/flag-uk.png icons/flag-us.png icons/logo.png diff --git a/pcsx2/Frontend/GameList.cpp b/pcsx2/Frontend/GameList.cpp index 10c8e0cfda..168e8461da 100644 --- a/pcsx2/Frontend/GameList.cpp +++ b/pcsx2/Frontend/GameList.cpp @@ -89,7 +89,8 @@ const char* GameList::EntryTypeToString(EntryType type) const char* GameList::RegionToString(Region region) { static std::array(Region::Count)> names = { - {"NTSC-U/C", "NTSC-J", "PAL", "Other"}}; + {"NTSC-B", "NTSC-C", "NTSC-HK", "NTSC-J", "NTSC-K", "NTSC-T", "NTSC-U", "Other", "PAL", "PAL-A", "PAL-AF", "PAL-AU", "PAL-BE", "PAL-E", "PAL-F", "PAL-FI", "PAL-G", "PAL-GR", "PAL-I", "PAL-IN", "PAL-M", "PAL-NL", "PAL-NO", "PAL-P", "PAL-R", "PAL-S", "PAL-SC", "PAL-SW", "PAL-SWI", "PAL-UK"}}; + return names[static_cast(region)]; } @@ -224,12 +225,64 @@ bool GameList::GetIsoListEntry(const std::string& path, GameList::Entry* entry) { entry->title = std::move(db_entry->name); entry->compatibility_rating = db_entry->compat; - if (StringUtil::StartsWith(db_entry->region, "NTSC-J")) + if (StringUtil::StartsWith(db_entry->region, "NTSC-B")) + entry->region = Region::NTSC_B; + else if (StringUtil::StartsWith(db_entry->region, "NTSC-C")) + entry->region = Region::NTSC_C; + else if (StringUtil::StartsWith(db_entry->region, "NTSC-HK")) + entry->region = Region::NTSC_HK; + else if (StringUtil::StartsWith(db_entry->region, "NTSC-J")) entry->region = Region::NTSC_J; - else if (StringUtil::StartsWith(db_entry->region, "NTSC")) - entry->region = Region::NTSC_UC; + else if (StringUtil::StartsWith(db_entry->region, "NTSC-K")) + entry->region = Region::NTSC_K; + else if (StringUtil::StartsWith(db_entry->region, "NTSC-T")) + entry->region = Region::NTSC_T; + else if (StringUtil::StartsWith(db_entry->region, "NTSC-U")) + entry->region = Region::NTSC_U; else if (StringUtil::StartsWith(db_entry->region, "PAL")) entry->region = Region::PAL; + else if (StringUtil::StartsWith(db_entry->region, "PAL-A")) + entry->region = Region::PAL_A; + else if (StringUtil::StartsWith(db_entry->region, "PAL-AF")) + entry->region = Region::PAL_AF; + else if (StringUtil::StartsWith(db_entry->region, "PAL-AU")) + entry->region = Region::PAL_AU; + else if (StringUtil::StartsWith(db_entry->region, "PAL-BE")) + entry->region = Region::PAL_BE; + else if (StringUtil::StartsWith(db_entry->region, "PAL-E")) + entry->region = Region::PAL_E; + else if (StringUtil::StartsWith(db_entry->region, "PAL-F")) + entry->region = Region::PAL_F; + else if (StringUtil::StartsWith(db_entry->region, "PAL-FI")) + entry->region = Region::PAL_FI; + else if (StringUtil::StartsWith(db_entry->region, "PAL-G")) + entry->region = Region::PAL_G; + else if (StringUtil::StartsWith(db_entry->region, "PAL-GR")) + entry->region = Region::PAL_GR; + else if (StringUtil::StartsWith(db_entry->region, "PAL-I")) + entry->region = Region::PAL_I; + else if (StringUtil::StartsWith(db_entry->region, "PAL-IN")) + entry->region = Region::PAL_IN; + else if (StringUtil::StartsWith(db_entry->region, "PAL-M")) + entry->region = Region::PAL_M; + else if (StringUtil::StartsWith(db_entry->region, "PAL-NL")) + entry->region = Region::PAL_NL; + else if (StringUtil::StartsWith(db_entry->region, "PAL-NO")) + entry->region = Region::PAL_NO; + else if (StringUtil::StartsWith(db_entry->region, "PAL-P")) + entry->region = Region::PAL_P; + else if (StringUtil::StartsWith(db_entry->region, "PAL-R")) + entry->region = Region::PAL_R; + else if (StringUtil::StartsWith(db_entry->region, "PAL-S")) + entry->region = Region::PAL_S; + else if (StringUtil::StartsWith(db_entry->region, "PAL-SC")) + entry->region = Region::PAL_SC; + else if (StringUtil::StartsWith(db_entry->region, "PAL-SW")) + entry->region = Region::PAL_SW; + else if (StringUtil::StartsWith(db_entry->region, "PAL-SWI")) + entry->region = Region::PAL_SWI; + else if (StringUtil::StartsWith(db_entry->region, "PAL-UK")) + entry->region = Region::PAL_UK; else entry->region = Region::Other; } diff --git a/pcsx2/Frontend/GameList.h b/pcsx2/Frontend/GameList.h index 07a8092f86..04c1ab40fe 100644 --- a/pcsx2/Frontend/GameList.h +++ b/pcsx2/Frontend/GameList.h @@ -42,10 +42,36 @@ namespace GameList enum class Region { - NTSC_UC, + NTSC_B, + NTSC_C, + NTSC_HK, NTSC_J, - PAL, + NTSC_K, + NTSC_T, + NTSC_U, Other, + PAL, + PAL_A, + PAL_AF, + PAL_AU, + PAL_BE, + PAL_E, + PAL_F, + PAL_FI, + PAL_G, + PAL_GR, + PAL_I, + PAL_IN, + PAL_M, + PAL_NL, + PAL_NO, + PAL_P, + PAL_R, + PAL_S, + PAL_SC, + PAL_SW, + PAL_SWI, + PAL_UK, Count };