mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-09 09:07:42 +00:00
More DolphinCDvdFile progress, only one function remains
Former-commit-id: 76e0804ecb
This commit is contained in:
@@ -1,17 +1,19 @@
|
||||
#ifndef _CDVDFILE
|
||||
#define _CDVDFILE
|
||||
|
||||
#include "types.h"
|
||||
#include "Kyoto/CDvdRequest.hpp"
|
||||
#include "types.h"
|
||||
|
||||
#include "rstl/auto_ptr.hpp"
|
||||
#include "rstl/reserved_vector.hpp"
|
||||
#include "rstl/single_ptr.hpp"
|
||||
#include "rstl/string.hpp"
|
||||
|
||||
enum ESeekOrigin {
|
||||
kSO_Set,
|
||||
kSO_Cur,
|
||||
kSO_End
|
||||
};
|
||||
enum ESeekOrigin { kSO_Set, kSO_Cur, kSO_End };
|
||||
|
||||
|
||||
class CDvdFile;
|
||||
struct CDvdFileARAM;
|
||||
struct DVDFileInfo;
|
||||
class CDvdFile {
|
||||
public:
|
||||
@@ -24,6 +26,7 @@ public:
|
||||
void TryARAMFile();
|
||||
void PushARAMFileLoad();
|
||||
void PopARAMFileLoad();
|
||||
bool IsARAMFileLoaded();
|
||||
void StartARAMFileLoad();
|
||||
void StallForARAMFile();
|
||||
CDvdRequest* SyncRead(void* buf, uint len);
|
||||
@@ -38,12 +41,13 @@ public:
|
||||
static void DVDARAMXferCallback(long, DVDFileInfo*);
|
||||
static void ARAMARAMXferCallback(u32 addr);
|
||||
static void internalCallback(s32, DVDFileInfo*);
|
||||
|
||||
private:
|
||||
int x0_fileEntry;
|
||||
void* x4_;
|
||||
uchar x8_;
|
||||
uchar x9_;
|
||||
int xc_;
|
||||
uchar* x4_;
|
||||
bool x8_;
|
||||
bool x9_;
|
||||
rstl::single_ptr< CDvdFileARAM > xc_;
|
||||
int x10_offset;
|
||||
int x14_size;
|
||||
rstl::string x18_filename;
|
||||
|
||||
Reference in New Issue
Block a user