Settings: Fix memory cards not syncing with disc change in title mode

This commit is contained in:
Connor McLaughlin
2020-06-04 02:15:27 +10:00
parent 8c5f6bafc6
commit 88502e130e
2 changed files with 9 additions and 4 deletions

View File

@ -2,9 +2,17 @@
#include "common/string_util.h"
#include "host_interface.h"
#include <array>
#include <algorithm>
Settings::Settings() = default;
bool Settings::HasAnyPerGameMemoryCards() const
{
return std::any_of(memory_card_types.begin(), memory_card_types.end(), [](MemoryCardType t) {
return (t == MemoryCardType::PerGame || t == MemoryCardType::PerGameTitle);
});
}
void Settings::Load(SettingsInterface& si)
{
region =