SBSPSS/source/fileio/cdfile.h

32 lines
645 B
C
Raw Normal View History

2000-08-29 21:52:28 +02:00
/***************************/
/*** PSX CD FileIO Stuff ***/
/***************************/
#ifndef __CDFILE_H__
#define __CDFILE_H__
#include "fileio\fileio.h"
/*****************************************************************************/
class CCDFileIO : public CLOFileIO
{
public:
CCDFileIO(u32 FilePos,sBigLump *BigLumpPtr);
virtual ~CCDFileIO(){};
void Open();
void Read(u32 Length,void *Buffer);
2001-04-04 14:38:57 +02:00
void ReadAsync(sASyncQueue &File);
2000-08-29 21:52:28 +02:00
void Close();
private:
sBigLump *BigLump;
u32 FileStart;
CdlLOC CdPos;
static int HasInit;
};
/*****************************************************************************/
#endif