From 08125262bb426264a24f7676a8582c122b42ff6d Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 21 May 2024 13:53:53 +1000 Subject: [PATCH] System: Fix Edit Memory Cards action for disc sets --- src/core/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index 6904bef75..9bfcf9ba0 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -4815,7 +4815,7 @@ std::string System::GetGameMemoryCardPath(std::string_view serial, std::string_v const bool global_use_playlist_title = Host::GetBaseBoolSettingValue(section, "UsePlaylistTitle", true); const bool use_playlist_title = ini ? ini->GetBoolValue(section, "UsePlaylistTitle", global_use_playlist_title) : global_use_playlist_title; - if (entry->disc_set_name.empty() && use_playlist_title && !FileSystem::FileExists(ret.c_str())) + if (!entry->disc_set_name.empty() && use_playlist_title && !FileSystem::FileExists(ret.c_str())) ret = g_settings.GetGameMemoryCardPath(Path::SanitizeFileName(entry->disc_set_name), slot); } else