mcd: correctly display osd message

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2021-06-29 02:30:22 +02:00 committed by Kojin
parent bd3918bd64
commit c19f8f8997
1 changed files with 1 additions and 1 deletions

View File

@ -521,7 +521,7 @@ s32 FileMemoryCard::Save(uint slot, const u8* src, u32 adr, int size)
{ {
wxString name, ext; wxString name, ext;
wxFileName::SplitPath(m_file[slot].GetName(), NULL, NULL, &name, &ext); wxFileName::SplitPath(m_file[slot].GetName(), NULL, NULL, &name, &ext);
OSDlog(Color_StrongYellow, false, "Memory Card %s written.", (const char*)(name + "." + ext).c_str()); OSDlog(Color_StrongYellow, true, "Memory Card %s written.", (const char*)(name + "." + ext).c_str());
last = std::chrono::system_clock::now(); last = std::chrono::system_clock::now();
} }
return 1; return 1;