Skip to content

Commit

Permalink
MemoryCard: Don't display message for empty card
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Sep 3, 2024
1 parent a7d8e6d commit 0458dfe
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/core/memory_card.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0458dfe

Please sign in to comment.