summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2025-01-03 16:51:33 -0800
committerGitHub <noreply@github.com>2025-01-03 17:51:33 -0700
commita9e52e5a551e05de85e6ecf1d73ffbd455d0d3d0 (patch)
tree83e592679582f46ad75ad1c4b7635badbf73bcd4 /include
parentf319c8125023f966901131c7ebe479a6f15a750d (diff)
Cfbinfo (#237)
* func_800D2CDC_jp * func_800D2CB4_jp * func_800D2C10_jp * cleanup * Small docs of CfbInfo struct
Diffstat (limited to 'include')
-rw-r--r--include/cfbinfo.h25
-rw-r--r--include/code_variables.h2
2 files changed, 13 insertions, 14 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
diff --git a/include/code_variables.h b/include/code_variables.h
index e7d8a9f..42b5de2 100644
--- a/include/code_variables.h
+++ b/include/code_variables.h
@@ -1923,8 +1923,6 @@ extern u16 D_80000400[];
// extern UNK_TYPE B_80144D04_jp;
// extern UNK_TYPE B_80144D0C_jp;
// extern UNK_TYPE B_80144D14_jp;
-// extern UNK_TYPE B_80144FC0_jp;
-// extern UNK_TYPE B_80145014_jp;
// extern UNK_TYPE B_80145390_jp;
// extern UNK_TYPE B_80145610_jp;