MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / FileMcd_IsMemoryCardFormatted

Function FileMcd_IsMemoryCardFormatted

pcsx2/SIO/Memcard/MemoryCardFile.cpp:864–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

862}
863
864bool FileMcd_IsMemoryCardFormatted(const std::string& path)
865{
866 auto fp = FileSystem::OpenManagedSharedCFile(path.c_str(), "rb", FileSystem::FileShareMode::DenyNone);
867 if (!fp)
868 return false;
869
870 return FileMcd_IsMemoryCardFormatted(fp.get());
871}
872
873bool FileMcd_IsMemoryCardFormatted(std::FILE* fp)
874{

Callers 3

OpenMethod · 0.85
FileMcd_GetCardInfoFunction · 0.85

Calls 2

c_strMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected