MemoryCard: Don't display message for empty card

This commit is contained in:
Stenzek 2024-09-03 21:49:51 +10:00
parent 63ac153e3e
commit e619fc9020
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;
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->m_changed = false;
}