System: Don't wipe out nonpersistent memory cards during game change

This commit is contained in:
Connor McLaughlin
2021-05-24 19:55:07 +10:00
parent 3f2c034869
commit 6a2b2ac7f8
4 changed files with 111 additions and 92 deletions

View File

@ -263,6 +263,11 @@ struct Settings
float GetDisplayAspectRatioValue() const;
ALWAYS_INLINE static bool IsPerGameMemoryCardType(MemoryCardType type)
{
return (type == MemoryCardType::PerGame || type == MemoryCardType::PerGameTitle ||
type == MemoryCardType::PerGameFileTitle);
}
bool HasAnyPerGameMemoryCards() const;
static void CPUOverclockPercentToFraction(u32 percent, u32* numerator, u32* denominator);