GameList: PAPX and SCZS prefixes should be NTSC-J

This commit is contained in:
Connor McLaughlin 2020-04-16 21:42:09 +10:00
parent 197b193ca3
commit 38847de8ee
2 changed files with 3 additions and 3 deletions

View File

@ -142,9 +142,9 @@ DiscRegion GameList::GetRegionForCode(std::string_view code)
if (prefix == "sces" || prefix == "sced" || prefix == "sles" || prefix == "sled")
return DiscRegion::PAL;
else if (prefix == "scps" || prefix == "slps" || prefix == "slpm")
else if (prefix == "scps" || prefix == "slps" || prefix == "slpm" || prefix == "sczs" || prefix == "papx")
return DiscRegion::NTSC_J;
else if (prefix == "scus" || prefix == "slus" || prefix == "papx")
else if (prefix == "scus" || prefix == "slus")
return DiscRegion::NTSC_U;
else
return DiscRegion::Other;

View File

@ -80,7 +80,7 @@ private:
enum : u32
{
GAME_LIST_CACHE_SIGNATURE = 0x45434C47,
GAME_LIST_CACHE_VERSION = 3
GAME_LIST_CACHE_VERSION = 4
};
using DatabaseMap = std::unordered_map<std::string, GameListDatabaseEntry>;