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

Method LoadFromFile

common/Image.cpp:104–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104bool RGBA8Image::LoadFromFile(const char* filename)
105{
106 auto fp = FileSystem::OpenManagedCFile(filename, "rb");
107 if (!fp)
108 return false;
109
110 return LoadFromFile(filename, fp.get());
111}
112
113bool RGBA8Image::SaveToFile(const char* filename, u8 quality) const
114{

Callers 1

Calls 3

GetFormatHandlerFunction · 0.85
getMethod · 0.45
ErrorFmtMethod · 0.45

Tested by

no test coverage detected