metaforce/Runtime/CDvdFile.hpp

51 lines
1.2 KiB
C++
Raw Normal View History

2015-08-22 23:42:29 -07:00
#ifndef __RETRO_CDVDFILE_HPP__
#define __RETRO_CDVDFILE_HPP__
#include "RetroTypes.hpp"
namespace Retro
{
const char* DecodeARAMFile(const char* name);
enum ESeekOrigin
{
OriginBegin = 0,
OriginCur = 1,
OriginEnd = 2
};
struct DVDFileInfo;
class CDvdRequest;
class CDvdFile
{
2015-08-23 16:58:07 -07:00
friend class CResLoader;
std::string x18_name;
2015-08-22 23:42:29 -07:00
public:
2015-08-25 00:04:50 -07:00
CDvdFile(const char*) {}
void UpdateFilePos(int) {}
void CalcFileOffset(int, ESeekOrigin) {}
static void internalCallback(s32, DVDFileInfo*) {}
2015-08-30 20:44:42 -07:00
static bool FileExists(const char*) {return false;}
2015-08-25 00:04:50 -07:00
void CloseFile() {}
2015-08-30 20:44:42 -07:00
CDvdRequest* AsyncSeekRead(void*, u32, ESeekOrigin, int) {return nullptr;}
2015-08-25 00:04:50 -07:00
void SyncSeekRead(void*, u32, ESeekOrigin, int) {}
2015-08-30 20:44:42 -07:00
CDvdRequest* AsyncRead(void*, u32) {return nullptr;}
2015-08-25 00:04:50 -07:00
void SyncRead(void*, u32) {}
void StallForARAMFile() {}
void StartARAMFileLoad() {}
void PopARAMFileLoad() {}
void PushARAMFileLoad() {}
void TryARAMFile() {}
void PingARAMTransfer() {}
void HandleDVDInterrupt() {}
void HandleARAMInterrupt() {}
static void ARAMARAMXferCallback(u32) {}
static void DVDARAMXferCallback(s32, DVDFileInfo*) {}
2015-08-22 23:42:29 -07:00
};
}
#endif // __RETRO_CDVDFILE_HPP__