prime/include/Kyoto/CDvdFile.hpp

26 lines
404 B
C++
Raw Normal View History

#ifndef _CDVDFILE
#define _CDVDFILE
#include "types.h"
2022-12-03 21:31:54 +00:00
#include "Kyoto/IDvdRequest.hpp"
class CDvdFile {
public:
CDvdFile(const char* name);
~CDvdFile();
uint Length() { return x14_size; }
IDvdRequest* SyncRead(void* buf, uint len);
static bool FileExists(const char*);
private:
uchar pad[0x14];
uint x14_size;
uchar pad2[0x10];
};
CHECK_SIZEOF(CDvdFile, 0x28)
#endif // _CDVDFILE