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)
if regioncode == "PCSA" or regioncode == "PCSE" then
file.region = "US"
elseif regioncode == "PCSB" then
elseif regioncode == "PCSB" or regioncode == "PCSF" then
file.region = "EU"
elseif regioncode == "PCSF" then
file.region = "AU"
elseif regioncode == "PCSG" then
elseif regioncode == "PCSC" or regioncode == "PCSG" then
file.region = "JP"
elseif regioncode == "PCSH" then
elseif regioncode == "PCSD" or regioncode == "PCSH" then
file.region = "ASIA"
elseif string.sub(file.name,1,6) == "PSPEMU" then
file.region = "PSP/PSX"
else
file.region = "UNK"
end