app: Add missing region codes

Signed-off-by: Michal Chvila <miso.chvila@gmail.com>
This commit is contained in:
Michal Chvila 2019-01-09 12:38:05 +01:00
parent 86e47c9f59
commit bdd1ee48e3

View File

@ -65,14 +65,14 @@ for i, file in pairs(tbl) do
local regioncode = string.sub(file.name,1,4) local regioncode = string.sub(file.name,1,4)
if regioncode == "PCSA" or regioncode == "PCSE" then if regioncode == "PCSA" or regioncode == "PCSE" then
file.region = "US" file.region = "US"
elseif regioncode == "PCSB" then elseif regioncode == "PCSB" or regioncode == "PCSF" then
file.region = "EU" file.region = "EU"
elseif regioncode == "PCSF" then elseif regioncode == "PCSC" or regioncode == "PCSG" then
file.region = "AU"
elseif regioncode == "PCSG" then
file.region = "JP" file.region = "JP"
elseif regioncode == "PCSH" then elseif regioncode == "PCSD" or regioncode == "PCSH" then
file.region = "ASIA" file.region = "ASIA"
elseif string.sub(file.name,1,6) == "PSPEMU" then
file.region = "PSP/PSX"
else else
file.region = "UNK" file.region = "UNK"
end end