Skip to content

Commit

Permalink
System: Fix Edit Memory Cards action for disc sets
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed May 21, 2024
1 parent 2dd9911 commit 0812526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0812526

Please sign in to comment.