mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-16 04:17:02 +00:00
CGBASupport (#13)
* Start work on GBASupport
* Match update
* Almost perfect match
* Very close to 100% match
* Match & link CGBASupport
* Fix some naming
* use c-cstle cast and round-up
Former-commit-id: d8804b5244
This commit is contained in:
@@ -3,12 +3,28 @@
|
||||
|
||||
#include "types.h"
|
||||
|
||||
class IDvdRequest {
|
||||
public:
|
||||
virtual ~IDvdRequest() = 0; // 8
|
||||
virtual void Unknown1(bool) = 0; // c
|
||||
virtual bool IsComplete() = 0; // 10
|
||||
};
|
||||
|
||||
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[0x28];
|
||||
uchar pad[0x14];
|
||||
uint x14_size;
|
||||
uchar pad2[0x10];
|
||||
};
|
||||
CHECK_SIZEOF(CDvdFile, 0x28)
|
||||
|
||||
#endif // _CDVDFILE
|
||||
|
||||
Reference in New Issue
Block a user