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

Method ReadSync

pcsx2/CDVD/InputIsoFile.cpp:59–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59int InputIsoFile::ReadSync(u8* dst, uint lsn)
60{
61 if (lsn >= m_blocks)
62 {
63 ERROR_LOG("isoFile error: Block index is past the end of file! ({} >= {}).", lsn, m_blocks);
64 return -1;
65 }
66
67 return m_reader->ReadSync(dst + m_blockofs, lsn, 1);
68}
69
70void InputIsoFile::BeginRead2(uint lsn)
71{

Callers 2

FindLayer1StartFunction · 0.45
ISOreadSectorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected