diff --git a/bin/resources/icons/flags/PAL-PL.png b/bin/resources/icons/flags/PAL-PL.png new file mode 100644 index 0000000000..3b6d000a70 Binary files /dev/null and b/bin/resources/icons/flags/PAL-PL.png differ diff --git a/pcsx2-qt/Settings/GameSummaryWidget.ui b/pcsx2-qt/Settings/GameSummaryWidget.ui index 0f23cb6fe8..6536255cea 100644 --- a/pcsx2-qt/Settings/GameSummaryWidget.ui +++ b/pcsx2-qt/Settings/GameSummaryWidget.ui @@ -268,6 +268,11 @@ PAL-P (Portugal) + + + PAL-PL (Poland) + + PAL-R (Russia) diff --git a/pcsx2/GameList.cpp b/pcsx2/GameList.cpp index 17a6d6f432..a04a4581fd 100644 --- a/pcsx2/GameList.cpp +++ b/pcsx2/GameList.cpp @@ -48,7 +48,7 @@ namespace GameList enum : u32 { GAME_LIST_CACHE_SIGNATURE = 0x45434C47, - GAME_LIST_CACHE_VERSION = 32, + GAME_LIST_CACHE_VERSION = 33, PLAYED_TIME_SERIAL_LENGTH = 32, @@ -117,7 +117,7 @@ const char* GameList::RegionToString(Region region) { static std::array(Region::Count)> names = {{"NTSC-B", "NTSC-C", "NTSC-HK", "NTSC-J", "NTSC-K", "NTSC-T", "NTSC-U", "Other", "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"}}; + "PAL-NL", "PAL-NO", "PAL-P", "PAL-PL", "PAL-R", "PAL-S", "PAL-SC", "PAL-SW", "PAL-SWI", "PAL-UK"}}; return names[static_cast(region)]; } @@ -266,6 +266,8 @@ GameList::Region GameList::ParseDatabaseRegion(const std::string_view& db_region return Region::PAL_NL; else if (StringUtil::StartsWith(db_region, "PAL-NO")) return Region::PAL_NO; + else if (StringUtil::StartsWith(db_region, "PAL-PL")) + return Region::PAL_PL; else if (StringUtil::StartsWith(db_region, "PAL-P")) return Region::PAL_P; else if (StringUtil::StartsWith(db_region, "PAL-R")) diff --git a/pcsx2/GameList.h b/pcsx2/GameList.h index 8c6e77baab..8b77c2650e 100644 --- a/pcsx2/GameList.h +++ b/pcsx2/GameList.h @@ -68,6 +68,7 @@ namespace GameList PAL_NL, PAL_NO, PAL_P, + PAL_PL, PAL_R, PAL_S, PAL_SC,