From 90aaee86c74bdd0191d240239d7f0918646aac13 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 24 Jul 2020 02:40:00 +1000 Subject: [PATCH] libretro: Use duckstation_shared_card_N.mcd in shared mode shared_card_n.mcd is too ambiguious when it's sharing a directory with other cores. --- src/duckstation-libretro/libretro_host_interface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/duckstation-libretro/libretro_host_interface.cpp b/src/duckstation-libretro/libretro_host_interface.cpp index 758c5a4f5..670fcb10e 100644 --- a/src/duckstation-libretro/libretro_host_interface.cpp +++ b/src/duckstation-libretro/libretro_host_interface.cpp @@ -129,8 +129,8 @@ static const char* GetSaveDirectory() std::string LibretroHostInterface::GetSharedMemoryCardPath(u32 slot) const { - return StringUtil::StdStringFromFormat("%s%cshared_card_%d.mcd", GetSaveDirectory(), FS_OSPATH_SEPERATOR_CHARACTER, - slot + 1); + return StringUtil::StdStringFromFormat("%s%cduckstation_shared_card_%d.mcd", GetSaveDirectory(), + FS_OSPATH_SEPERATOR_CHARACTER, slot + 1); } std::string LibretroHostInterface::GetGameMemoryCardPath(const char* game_code, u32 slot) const