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

Function IsBIOS

pcsx2/ps2/BiosTools.cpp:284–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284bool IsBIOS(const char* filename, u32& version, std::string& description, u32& region, std::string& zone)
285{
286 std::string serial;
287 const auto fp = FileSystem::OpenManagedCFile(filename, "rb");
288 if (!fp)
289 return false;
290
291 // FPS2BIOS is smaller and of variable size
292 //if (inway.Length() < 512*1024) return false;
293 return LoadBiosVersion(fp.get(), version, description, region, zone, serial);
294}
295
296bool IsBIOSAvailable(const std::string& full_path)
297{

Callers 4

populateListMethod · 0.85
FindBiosImageFunction · 0.85
DrawBIOSSettingsPageMethod · 0.85
ApplyLayoutSettingsMethod · 0.85

Calls 2

LoadBiosVersionFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected