From bdd1ee48e3510bae2713559536246a567d48169f Mon Sep 17 00:00:00 2001 From: Michal Chvila Date: Wed, 9 Jan 2019 12:38:05 +0100 Subject: [PATCH] app: Add missing region codes Signed-off-by: Michal Chvila --- app/index.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/index.lua b/app/index.lua index 1a5d7bf..31a67b0 100644 --- a/app/index.lua +++ b/app/index.lua @@ -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