Pad: Fix OSD error message when save state memory cards mismatch

This commit is contained in:
Connor McLaughlin 2020-05-07 22:49:14 +10:00
parent df66d86b27
commit 85707f809c
1 changed files with 2 additions and 2 deletions

View File

@ -65,13 +65,13 @@ bool Pad::DoState(StateWrapper& sw)
if (card_present && !m_memory_cards[i])
{
m_system->GetHostInterface()->AddFormattedOSDMessage(
2.0f, "Memory card %c present in save state but not in system. Creating temporary card.", 'A' + i);
2.0f, "Memory card %c present in save state but not in system. Creating temporary card.", i + 1);
m_memory_cards[i] = MemoryCard::Create(m_system);
}
else if (!card_present && m_memory_cards[i])
{
m_system->GetHostInterface()->AddFormattedOSDMessage(
2.0f, "Memory card %u present system but not save state. Removing card.", 'A' + i);
2.0f, "Memory card %u present in system but not in save state. Removing card.", i + 1);
m_memory_cards[i].reset();
}