mirror of
https://github.com/zeldaret/tp
synced 2026-08-31 01:30:39 -04:00
c70d485d35
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>
31 lines
876 B
C++
31 lines
876 B
C++
#ifndef JKRARAMARCHIVE_H_
|
|
#define JKRARAMARCHIVE_H_
|
|
|
|
#include "JSystem/JKernel/JKRArchive/JKRArchive.h"
|
|
#include "dolphin/types.h"
|
|
|
|
class JKRAramArchive : public JKRArchive {
|
|
public:
|
|
JKRAramArchive(long, JKRArchive::EMountDirection);
|
|
virtual ~JKRAramArchive();
|
|
|
|
void open(long);
|
|
void getAramAddress_Entry(SDIFileEntry*);
|
|
void getAramAddress(char const*);
|
|
|
|
/* vt[15] */ u32 getExpandedResSize(const void*); /* override */
|
|
/* vt[16] */ void* fetchResource(SDIFileEntry*, u32*); /* override */
|
|
/* vt[17] */ void* fetchResource(void*, u32, SDIFileEntry*, u32*); /* override */
|
|
|
|
public:
|
|
static void fetchResource_subroutine(u32, u32, u8*, u32, int);
|
|
static void fetchResource_subroutine(u32, u32, JKRHeap*, int, u8**);
|
|
|
|
private:
|
|
/* 0x00 */ // vtable
|
|
/* 0x04 */ // JKRArchive
|
|
u8 unk[16];
|
|
};
|
|
|
|
#endif
|