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

Function cdvdLoadDiscElf

pcsx2/CDVD/CDVD.cpp:454–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454bool cdvdLoadDiscElf(ElfObject* elfo, IsoReader& isor, const std::string_view elfpath, bool isPSXElf, Error* error)
455{
456 if (!elfpath.starts_with("cdrom:") && !elfpath.starts_with("cdrom0:"))
457 return false;
458
459 return cdvdUncheckedLoadDiscElf(elfo, isor, elfpath, isPSXElf, error);
460}
461
462u32 cdvdGetElfCRC(const std::string& path)
463{

Callers 2

cdvdLoadElfFunction · 0.85
cdvdGetDiscInfoFunction · 0.85

Calls 2

cdvdUncheckedLoadDiscElfFunction · 0.85
starts_withMethod · 0.80

Tested by

no test coverage detected