summaryrefslogtreecommitdiff
path: root/include/JSystem
diff options
context:
space:
mode:
authornotyourav <65437533+notyourav@users.noreply.github.com>2021-12-14 00:11:28 -0800
committerGitHub <noreply@github.com>2021-12-14 00:11:28 -0800
commitacd2622e293e4d104a368abb6279a213c91a2106 (patch)
tree45ff6f887b34a1d1c5b4ec0958b5b797fcc87485 /include/JSystem
parent202e3c51c091c9b77060711995ce329de00b39c4 (diff)
parente17003ab29a830b7883da6f8a2c732db4721bd78 (diff)
Merge pull request #169 from lepelog/j2dmanage
J2DManage
Diffstat (limited to 'include/JSystem')
-rw-r--r--include/JSystem/J2DGraph/J2DManage.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/include/JSystem/J2DGraph/J2DManage.h b/include/JSystem/J2DGraph/J2DManage.h
index 769b9cc0e1..96a9e5ebc0 100644
--- a/include/JSystem/J2DGraph/J2DManage.h
+++ b/include/JSystem/J2DGraph/J2DManage.h
@@ -5,11 +5,23 @@
#include "dolphin/types.h"
struct J2DResReference {
- /* 8030CF10 */ void getResReference(u16) const;
- /* 8030CF44 */ void getName(u16) const;
+ /* 0x00 */ u16 mCount;
+ /* 0x02 */ u16 mOffsets[1];
+
+ /* 8030CF10 */ s8* getResReference(u16) const;
+ /* 8030CF44 */ char* getName(u16) const;
+};
+
+struct J2DataManageLink {
+ /* 0x00 */ void* mData;
+ /* 0x04 */ char* mName;
+ /* 0x08 */ J2DataManageLink* mNext;
};
class J2DDataManage {
+private:
+ /* 0x00 */ J2DataManageLink* mList;
+
public:
/* 8030CE18 */ void* get(char const*);
/* 8030CE7C */ void* get(JSUInputStream*);