summaryrefslogtreecommitdiff
path: root/include/cfbinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cfbinfo.h')
-rw-r--r--include/cfbinfo.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/include/cfbinfo.h b/include/cfbinfo.h
index b8241da..77bef96 100644
--- a/include/cfbinfo.h
+++ b/include/cfbinfo.h
@@ -4,21 +4,22 @@
#include "ultra64.h"
#include "unk.h"
-typedef struct cfbStruct {
+typedef struct CfbInfo {
/* 0x00 */ void* unk_00;
- /* 0x04 */ UNK_PTR unk_04;
- /* 0x08 */ UNK_TYPE1 unk_08[0x1];
- /* 0x09 */ u8 unk_09;
+ /* 0x04 */ UNK_PTR swapBuffer;
+ /* 0x08 */ u8 state;
+ /* 0x09 */ s8 unk_09;
/* 0x0A */ u8 unk_0A;
/* 0x0B */ s8 unk_0B;
- /* 0x0C */ OSViMode* unk_0C;
- /* 0x10 */ s32 unk_10;
- /* 0x14 */ f32 unk_14;
- /* 0x18 */ f32 unk_18;
-} cfbStruct; // size >= 0x1C
+ /* 0x0C */ OSViMode* viMode;
+ /* 0x10 */ s32 viFeatures;
+ /* 0x14 */ f32 xScale;
+ /* 0x18 */ f32 yScale;
+} CfbInfo; // size = 0x1C
-cfbStruct* func_800D2C10_jp(void);
-// void func_800D2CB4_jp();
-// void func_800D2CDC_jp();
+
+CfbInfo* func_800D2C10_jp(void);
+void func_800D2CB4_jp(CfbInfo* cfb);
+void func_800D2CDC_jp(CfbInfo* cfb);
#endif