MemoryCardIconCache: Ignore shared cards
This commit is contained in:
@ -4997,7 +4997,8 @@ void System::DeleteSaveStates(const char* serial, bool resume)
|
||||
}
|
||||
}
|
||||
|
||||
std::string System::GetGameMemoryCardPath(std::string_view serial, std::string_view path, u32 slot)
|
||||
std::string System::GetGameMemoryCardPath(std::string_view serial, std::string_view path, u32 slot,
|
||||
MemoryCardType* out_type)
|
||||
{
|
||||
const char* section = "MemoryCards";
|
||||
const TinyString type_key = TinyString::from_format("Card{}Type", slot + 1);
|
||||
@ -5034,6 +5035,9 @@ std::string System::GetGameMemoryCardPath(std::string_view serial, std::string_v
|
||||
type = MemoryCardType::Shared;
|
||||
}
|
||||
|
||||
if (out_type)
|
||||
*out_type = type;
|
||||
|
||||
std::string ret;
|
||||
switch (type)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user