MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / data_Read

Method data_Read

Source/PC/Resource_PC_CD.cpp:392–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390}
391
392uint8 cResource_PC_CD::data_Read() {
393 if( !mBytesRead ) {
394 mCurPtr = mDataCurrent;
395 mDataCurrent += 0xA00;
396 mBytesRead = 0xA00;
397 }
398
399 uint8 al = mCurPtr[0];
400 ++mCurPtr;
401 --mBytesRead;
402
403 return al;
404}
405
406void cResource_PC_CD::sub_26AA4() {
407 uint16 cx = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected