mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 06:14:54 +00:00
Config: Use JPN for custom GCI folder paths.
This commit is contained in:
parent
86d01c3399
commit
c18d6c3deb
1 changed files with 3 additions and 2 deletions
|
@ -692,7 +692,7 @@ std::string GetGCIFolderPath(std::string configured_folder, ExpansionInterface::
|
||||||
configured_folder.pop_back();
|
configured_folder.pop_back();
|
||||||
|
|
||||||
constexpr std::string_view us_region = "/" USA_DIR;
|
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;
|
constexpr std::string_view eu_region = "/" EUR_DIR;
|
||||||
std::string_view base_path = configured_folder;
|
std::string_view base_path = configured_folder;
|
||||||
std::optional<DiscIO::Region> path_region = std::nullopt;
|
std::optional<DiscIO::Region> path_region = std::nullopt;
|
||||||
|
@ -715,7 +715,8 @@ std::string GetGCIFolderPath(std::string configured_folder, ExpansionInterface::
|
||||||
const DiscIO::Region used_region =
|
const DiscIO::Region used_region =
|
||||||
region ? *region : (path_region ? *path_region : Config::Get(Config::MAIN_FALLBACK_REGION));
|
region ? *region : (path_region ? *path_region : Config::Get(Config::MAIN_FALLBACK_REGION));
|
||||||
return fmt::format("{}/{}", base_path,
|
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)
|
bool IsDefaultGCIFolderPathConfigured(ExpansionInterface::Slot slot)
|
||||||
|
|
Loading…
Add table
Reference in a new issue