| 57 | } |
| 58 | |
| 59 | int 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 | |
| 70 | void InputIsoFile::BeginRead2(uint lsn) |
| 71 | { |
no outgoing calls
no test coverage detected