mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-14 18:34:32 +00:00
MemoryCard: Fix off-by-one reporting in card number
This commit is contained in:
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user