MemoryCard: Fix off-by-one reporting in card number

This commit is contained in:
Stenzek
2025-11-01 15:10:56 +10:00
parent 8a732ded41
commit 77b1abf5e3

View File

@@ -328,7 +328,7 @@ std::unique_ptr<MemoryCard> MemoryCard::Open(u32 index, std::string path)
{
Host::AddIconOSDMessage(
GetOSDMessageKey(index), ICON_EMOJI_WARNING,
fmt::format(TRANSLATE_FS("MemoryCard", "Memory Card {} could not be read."), index),
fmt::format(TRANSLATE_FS("MemoryCard", "Memory Card {} could not be read."), index + 1),
fmt::format(TRANSLATE_FS("MemoryCard", "File: {0}\nError: {1}\nThe memory card will NOT be saved.\nYou must "
"delete the memory card manually if you want to save."),
Path::GetFileName(mc->m_path), error.GetDescription()),