mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Core: Add config setting for base GCI folder path.
This commit is contained in:
@ -716,16 +716,10 @@ void GameList::OpenGCSaveFolder()
|
||||
{
|
||||
case ExpansionInterface::EXIDeviceType::MemoryCardFolder:
|
||||
{
|
||||
std::string path = fmt::format("{}/{}/{}", File::GetUserPath(D_GCUSER_IDX),
|
||||
Config::GetDirectoryForRegion(game->GetRegion()),
|
||||
slot == Slot::A ? "Card A" : "Card B");
|
||||
|
||||
std::string override_path = Config::Get(Config::GetInfoForGCIPathOverride(slot));
|
||||
|
||||
if (!override_path.empty())
|
||||
path = override_path;
|
||||
|
||||
QDir dir(QString::fromStdString(path));
|
||||
QDir dir(QString::fromStdString(override_path.empty() ?
|
||||
Config::GetGCIFolderPath(slot, game->GetRegion()) :
|
||||
override_path));
|
||||
|
||||
if (!dir.entryList({QStringLiteral("%1-%2-*.gci")
|
||||
.arg(QString::fromStdString(game->GetMakerID()))
|
||||
|
Reference in New Issue
Block a user