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.
This commit is contained in:
parent
e30c0a6881
commit
90aaee86c7
|
@ -129,8 +129,8 @@ static const char* GetSaveDirectory()
|
||||||
|
|
||||||
std::string LibretroHostInterface::GetSharedMemoryCardPath(u32 slot) const
|
std::string LibretroHostInterface::GetSharedMemoryCardPath(u32 slot) const
|
||||||
{
|
{
|
||||||
return StringUtil::StdStringFromFormat("%s%cshared_card_%d.mcd", GetSaveDirectory(), FS_OSPATH_SEPERATOR_CHARACTER,
|
return StringUtil::StdStringFromFormat("%s%cduckstation_shared_card_%d.mcd", GetSaveDirectory(),
|
||||||
slot + 1);
|
FS_OSPATH_SEPERATOR_CHARACTER, slot + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string LibretroHostInterface::GetGameMemoryCardPath(const char* game_code, u32 slot) const
|
std::string LibretroHostInterface::GetGameMemoryCardPath(const char* game_code, u32 slot) const
|
||||||
|
|
Loading…
Reference in New Issue