MemoryCard: Don't display message for empty card

This commit is contained in:
Stenzek 2024-09-03 21:49:51 +10:00
parent a7d8e6d018
commit 0458dfe8be
No known key found for this signature in database
1 changed files with 0 additions and 4 deletions

View File

@ -301,10 +301,6 @@ std::unique_ptr<MemoryCard> MemoryCard::Open(std::string_view filename)
Error error; Error error;
if (!FileSystem::FileExists(mc->m_filename.c_str())) [[unlikely]] if (!FileSystem::FileExists(mc->m_filename.c_str())) [[unlikely]]
{ {
Host::AddIconOSDMessage(fmt::format("memory_card_{}", filename), ICON_FA_SD_CARD,
fmt::format(TRANSLATE_FS("MemoryCard", "{} does not exist, using empty memory card."),
Path::GetFileName(filename)),
Host::OSD_INFO_DURATION);
mc->Format(); mc->Format();
mc->m_changed = false; mc->m_changed = false;
} }