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

Function testForPrimaryVolumeDescriptor

pcsx2/CDVD/CDVDisoReader.cpp:110–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110static bool testForPrimaryVolumeDescriptor(const std::array<u8, CD_FRAMESIZE_RAW>& buffer)
111{
112 const std::array<u8, 6> identifier = {1, 'C', 'D', '0', '0', '1'};
113
114 return std::equal(identifier.begin(), identifier.end(), buffer.begin() + iso.GetBlockOffset());
115}
116
117static void FindLayer1Start()
118{

Callers 1

FindLayer1StartFunction · 0.85

Calls 4

equalFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
GetBlockOffsetMethod · 0.45

Tested by

no test coverage detected