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

Function ISOgetTD

pcsx2/CDVD/CDVDisoReader.cpp:95–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95static s32 ISOgetTD(u8 Track, cdvdTD* Buffer)
96{
97 if (Track == 0)
98 {
99 Buffer->lsn = iso.GetBlockCount();
100 }
101 else
102 {
103 Buffer->type = CDVD_MODE1_TRACK;
104 Buffer->lsn = 0;
105 }
106
107 return 0;
108}
109
110static bool testForPrimaryVolumeDescriptor(const std::array<u8, CD_FRAMESIZE_RAW>& buffer)
111{

Callers 1

ISOgetTOCFunction · 0.85

Calls 1

GetBlockCountMethod · 0.45

Tested by

no test coverage detected