mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
i previously had a bad habit of using double underscores in include guard macro names, which are implementation-reserved per the C++98 standard (see 17.4.3.1.2 Global names). Co-authored-by: Pheenoh <pheenoh@gmail.com>
34 lines
1.0 KiB
C++
34 lines
1.0 KiB
C++
#ifndef JKRDVDARCHIVE_H_
|
|
#define JKRDVDARCHIVE_H_
|
|
|
|
#include "JSystem/JKernel/JKRArchive/JKRArchive.h"
|
|
#include "dolphin/types.h"
|
|
|
|
class JKRDvdFile;
|
|
class JKRDvdArchive : public JKRArchive {
|
|
public:
|
|
JKRDvdArchive(s32, JKRArchive::EMountDirection);
|
|
virtual ~JKRDvdArchive();
|
|
|
|
bool open(s32);
|
|
|
|
/* vt[15] */ virtual u32 getExpandedResSize(const void*); /* override */
|
|
/* vt[16] */ virtual void* fetchResource(SDIFileEntry*, u32*); /* override */
|
|
/* vt[17] */ virtual void* fetchResource(void*, u32, SDIFileEntry*, u32*); /* override */
|
|
|
|
public:
|
|
static u32 fetchResource_subroutine(s32, u32, u32, u8*, u32, JKRCompression, JKRCompression);
|
|
static u32 fetchResource_subroutine(s32, u32, u32, JKRHeap*, JKRCompression, JKRCompression,
|
|
u8**);
|
|
|
|
private:
|
|
/* 0x00 */ // vtable
|
|
/* 0x04 */ // JKRArchive
|
|
/* 0x5C */ JKRCompression mCompression;
|
|
/* 0x60 */ EMountDirection mMountDirection;
|
|
/* 0x64 */ s32 field_0x64;
|
|
/* 0x68 */ JKRDvdFile* mDvdFile;
|
|
};
|
|
|
|
#endif
|