From c18d6c3deb9de9f20132a75a09d9ee68ef567ec1 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Mon, 7 Nov 2022 05:34:12 +0100 Subject: [PATCH] Config: Use JPN for custom GCI folder paths. --- Source/Core/Core/Config/MainSettings.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Config/MainSettings.cpp b/Source/Core/Core/Config/MainSettings.cpp index 4a8ae957f0..c88849a795 100644 --- a/Source/Core/Core/Config/MainSettings.cpp +++ b/Source/Core/Core/Config/MainSettings.cpp @@ -692,7 +692,7 @@ std::string GetGCIFolderPath(std::string configured_folder, ExpansionInterface:: configured_folder.pop_back(); constexpr std::string_view us_region = "/" USA_DIR; - constexpr std::string_view jp_region = "/" JAP_DIR; + constexpr std::string_view jp_region = "/" JPN_DIR; constexpr std::string_view eu_region = "/" EUR_DIR; std::string_view base_path = configured_folder; std::optional path_region = std::nullopt; @@ -715,7 +715,8 @@ std::string GetGCIFolderPath(std::string configured_folder, ExpansionInterface:: const DiscIO::Region used_region = region ? *region : (path_region ? *path_region : Config::Get(Config::MAIN_FALLBACK_REGION)); return fmt::format("{}/{}", base_path, - Config::GetDirectoryForRegion(Config::ToGameCubeRegion(used_region))); + Config::GetDirectoryForRegion(Config::ToGameCubeRegion(used_region), + Config::RegionDirectoryStyle::Modern)); } bool IsDefaultGCIFolderPathConfigured(ExpansionInterface::Slot slot)