GameList: PAPX and SCZS prefixes should be NTSC-J
This commit is contained in:
parent
197b193ca3
commit
38847de8ee
|
@ -142,9 +142,9 @@ DiscRegion GameList::GetRegionForCode(std::string_view code)
|
||||||
|
|
||||||
if (prefix == "sces" || prefix == "sced" || prefix == "sles" || prefix == "sled")
|
if (prefix == "sces" || prefix == "sced" || prefix == "sles" || prefix == "sled")
|
||||||
return DiscRegion::PAL;
|
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;
|
return DiscRegion::NTSC_J;
|
||||||
else if (prefix == "scus" || prefix == "slus" || prefix == "papx")
|
else if (prefix == "scus" || prefix == "slus")
|
||||||
return DiscRegion::NTSC_U;
|
return DiscRegion::NTSC_U;
|
||||||
else
|
else
|
||||||
return DiscRegion::Other;
|
return DiscRegion::Other;
|
||||||
|
|
|
@ -80,7 +80,7 @@ private:
|
||||||
enum : u32
|
enum : u32
|
||||||
{
|
{
|
||||||
GAME_LIST_CACHE_SIGNATURE = 0x45434C47,
|
GAME_LIST_CACHE_SIGNATURE = 0x45434C47,
|
||||||
GAME_LIST_CACHE_VERSION = 3
|
GAME_LIST_CACHE_VERSION = 4
|
||||||
};
|
};
|
||||||
|
|
||||||
using DatabaseMap = std::unordered_map<std::string, GameListDatabaseEntry>;
|
using DatabaseMap = std::unordered_map<std::string, GameListDatabaseEntry>;
|
||||||
|
|
Loading…
Reference in New Issue