wavelength 1.0.0
Loading...
Searching...
No Matches
CDReader.h File Reference

Go to the source code of this file.

Functions

int CDReadSectors (int sector, int numSectors, void *buffer)
 Read sectors of the archive, standing in for the disc.
bool CDReadDone ()
 Report whether the last read finished.
int CDGetError ()
 Report the error of the last read.

Function Documentation

◆ CDReadSectors()

int CDReadSectors ( int sector,
int numSectors,
void * buffer )

Read sectors of the archive, standing in for the disc.

The read completes before the routine returns.

Parameters
sectorThe first sector.
numSectorsThe number of sectors.
bufferReceives the sectors.
Returns
Always zero.
Ghidra address:
0x10010080

◆ CDReadDone()

bool CDReadDone ( )

Report whether the last read finished.

Reads finish at once, so the result is always true.

The linker merged the routine with AsyncFile::_ReadDone().

Returns
Always true.
Ghidra address:
0x1000ffe0

◆ CDGetError()

int CDGetError ( )

Report the error of the last read.

Reads do not fail, so the result is always zero.

The linker merged the routine with every other routine that only returns zero.

Returns
Always zero.
Ghidra address:
0x1000eed0