mirror of https://github.com/PCSX2/pcsx2.git
Qt: Add Polish flag
Polish were neglected, that ends now. Flag will be used when it sees a Polish entry in the gamelist. Fixes https://github.com/PCSX2/pcsx2/issues/9137 Bumps the gamelist cache version from 32 to 33 Adds to enumeration And make it visible in both gamelist and per-game summary view Update GameList.cpp
This commit is contained in:
parent
c22f794a20
commit
d9dbf2c5e9
Binary file not shown.
After Width: | Height: | Size: 487 B |
|
@ -268,6 +268,11 @@
|
|||
<string extracomment="Leave the code as-is, translate the country's name.">PAL-P (Portugal)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string extracomment="Leave the code as-is, translate the country's name.">PAL-PL (Poland)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string extracomment="Leave the code as-is, translate the country's name.">PAL-R (Russia)</string>
|
||||
|
|
|
@ -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<const char*, static_cast<int>(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<int>(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"))
|
||||
|
|
|
@ -68,6 +68,7 @@ namespace GameList
|
|||
PAL_NL,
|
||||
PAL_NO,
|
||||
PAL_P,
|
||||
PAL_PL,
|
||||
PAL_R,
|
||||
PAL_S,
|
||||
PAL_SC,
|
||||
|
|
Loading…
Reference in New Issue