Skip to content

Commit 52873b5

Browse files
authored
helpRVL docs based on mario tennis strings (#104)
1 parent ae8b040 commit 52873b5

File tree

5 files changed

+140
-116
lines changed

5 files changed

+140
-116
lines changed

config/oot-e/symbols.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ helpMenuReadNAND = .text:0x8005E2D0; // type:function size:0x18C scope:local
788788
helpMenuSetupTexturedQuad = .text:0x8005E45C; // type:function size:0x1DC scope:local
789789
helpMenuSetupColoredQuad = .text:0x8005E638; // type:function size:0x1C8 scope:local
790790
helpMenu_8005E800 = .text:0x8005E800; // type:function size:0x2FC
791-
helpMenu_8005EAFC = .text:0x8005EAFC; // type:function size:0x300
791+
helpMenuRunManualViewer = .text:0x8005EAFC; // type:function size:0x300
792792
helpMenu_8005EDFC = .text:0x8005EDFC; // type:function size:0x358
793793
helpMenuPowerCallback = .text:0x8005F154; // type:function size:0x4C scope:local
794794
helpMenuResetCallback = .text:0x8005F1A0; // type:function size:0x4C scope:local
@@ -1107,7 +1107,7 @@ fn_80088674 = .text:0x800886A4; // type:function size:0x4
11071107
fn_80088678 = .text:0x800886A8; // type:function size:0xF4
11081108
fn_8008876C = .text:0x8008879C; // type:function size:0x58
11091109
fn_800887C4 = .text:0x800887F4; // type:function size:0x4
1110-
fn_800887C8 = .text:0x800887F8; // type:function size:0x4
1110+
VCMVRun = .text:0x800887F8; // type:function size:0x4
11111111
fn_800887CC = .text:0x800887FC; // type:function size:0x8
11121112
fn_800887D4 = .text:0x80088804; // type:function size:0x58
11131113
fn_8008882C = .text:0x8008885C; // type:function size:0xB0
@@ -7275,7 +7275,7 @@ sMemAllocator1 = .bss:0x801C7F60; // type:object size:0x10 scope:local
72757275
sMemAllocator2 = .bss:0x801C7F70; // type:object size:0x10 scope:local
72767276
sWebsitePath = .bss:0x801C7F80; // type:object size:0x28 scope:local
72777277
lbl_801C7D28 = .bss:0x801C7FA8; // type:object size:0x10 scope:local data:4byte
7278-
sHBMDataInfo = .bss:0x801C7FB8; // type:object size:0x3C scope:local data:4byte
7278+
hbmInfo = .bss:0x801C7FB8; // type:object size:0x3C scope:local data:4byte
72797279
sHandleNAND = .bss:0x801C7FF4; // type:object size:0x24 scope:local data:4byte
72807280
sTexObj = .bss:0x801C8018; // type:object size:0x20 scope:local data:4byte
72817281
gControllerAllocator = .bss:0x801C8038; // type:object size:0x10
@@ -7950,8 +7950,8 @@ lbl_8025D0D8 = .sbss:0x8025D358; // type:object size:0x4 scope:global data:4byte
79507950
lbl_8025D0DC = .sbss:0x8025D35C; // type:object size:0x4 scope:global data:4byte
79517951
lbl_8025D0E0 = .sbss:0x8025D360; // type:object size:0x4 scope:global data:4byte
79527952
lbl_8025D0E4 = .sbss:0x8025D364; // type:object size:0x4 scope:global data:4byte
7953-
lbl_8025D0E8 = .sbss:0x8025D368; // type:object size:0x4 scope:global data:4byte
7954-
lbl_8025D0EC = .sbss:0x8025D36C; // type:object size:0x4 scope:global data:4byte
7953+
sPowerBtnPressed = .sbss:0x8025D368; // type:object size:0x4 scope:global data:4byte
7954+
sResetBtnPressed = .sbss:0x8025D36C; // type:object size:0x4 scope:global data:4byte
79557955
lbl_8025D0F0 = .sbss:0x8025D370; // type:object size:0x4 scope:global data:4byte
79567956
lbl_8025D0F4 = .sbss:0x8025D374; // type:object size:0x4 scope:global data:4byte
79577957
lbl_8025D0F8 = .sbss:0x8025D378; // type:object size:0x4 scope:global data:4byte
@@ -7961,7 +7961,7 @@ lbl_8025D108 = .sbss:0x8025D388; // type:object size:0x4 scope:global data:4byte
79617961
sRenderMode = .sbss:0x8025D38C; // type:object size:0x4 scope:local data:4byte
79627962
lbl_8025D110 = .sbss:0x8025D390; // type:object size:0x1 scope:global data:byte
79637963
lbl_8025D114 = .sbss:0x8025D394; // type:object size:0x4 scope:global data:4byte
7964-
lbl_8025D118 = .sbss:0x8025D398; // type:object size:0x4 scope:global data:4byte
7964+
nHbmVcmvState = .sbss:0x8025D398; // type:object size:0x4 scope:global data:4byte
79657965
sControllerVICallback = .sbss:0x8025D3A0; // type:object size:0x4 scope:local data:4byte
79667966
sControllerHeap = .sbss:0x8025D3A4; // type:object size:0x4 scope:local data:4byte
79677967
sFontHeader = .sbss:0x8025D3A8; // type:object size:0x4 scope:local data:4byte

config/oot-j/symbols.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ helpMenuReadNAND = .text:0x8005E2D0; // type:function size:0x18C
788788
helpMenuSetupTexturedQuad = .text:0x8005E45C; // type:function size:0x1DC
789789
helpMenuSetupColoredQuad = .text:0x8005E638; // type:function size:0x1C8
790790
helpMenu_8005E800 = .text:0x8005E800; // type:function size:0x2FC
791-
helpMenu_8005EAFC = .text:0x8005EAFC; // type:function size:0x300
791+
helpMenuRunManualViewer = .text:0x8005EAFC; // type:function size:0x300
792792
helpMenu_8005EDFC = .text:0x8005EDFC; // type:function size:0x358
793793
helpMenuPowerCallback = .text:0x8005F154; // type:function size:0x4C
794794
helpMenuResetCallback = .text:0x8005F1A0; // type:function size:0x4C
@@ -1107,7 +1107,7 @@ fn_80088674 = .text:0x80088674; // type:function size:0x4
11071107
fn_80088678 = .text:0x80088678; // type:function size:0xF4
11081108
fn_8008876C = .text:0x8008876C; // type:function size:0x58
11091109
fn_800887C4 = .text:0x800887C4; // type:function size:0x4
1110-
fn_800887C8 = .text:0x800887C8; // type:function size:0x4
1110+
VCMVRun = .text:0x800887C8; // type:function size:0x4
11111111
fn_800887CC = .text:0x800887CC; // type:function size:0x8
11121112
fn_800887D4 = .text:0x800887D4; // type:function size:0x58
11131113
fn_8008882C = .text:0x8008882C; // type:function size:0xB0
@@ -7329,7 +7329,7 @@ sMemAllocator1 = .bss:0x801C7CE0; // type:object size:0x10 scope:local
73297329
sMemAllocator2 = .bss:0x801C7CF0; // type:object size:0x10 scope:local
73307330
sWebsitePath = .bss:0x801C7D00; // type:object size:0x28 scope:local
73317331
lbl_801C7D28 = .bss:0x801C7D28; // type:object size:0x10 data:4byte
7332-
sHBMDataInfo = .bss:0x801C7D38; // type:object size:0x3C scope:local data:4byte
7332+
hbmInfo = .bss:0x801C7D38; // type:object size:0x3C scope:local data:4byte
73337333
sHandleNAND = .bss:0x801C7D74; // type:object size:0x24 scope:local data:4byte
73347334
sTexObj = .bss:0x801C7D98; // type:object size:0x20 scope:local data:4byte
73357335
gControllerAllocator = .bss:0x801C7DB8; // type:object size:0x10
@@ -8004,8 +8004,8 @@ lbl_8025D0D8 = .sbss:0x8025D0D8; // type:object size:0x4 data:4byte
80048004
lbl_8025D0DC = .sbss:0x8025D0DC; // type:object size:0x4 data:4byte
80058005
lbl_8025D0E0 = .sbss:0x8025D0E0; // type:object size:0x4 data:4byte
80068006
lbl_8025D0E4 = .sbss:0x8025D0E4; // type:object size:0x4 data:4byte
8007-
lbl_8025D0E8 = .sbss:0x8025D0E8; // type:object size:0x4 data:4byte
8008-
lbl_8025D0EC = .sbss:0x8025D0EC; // type:object size:0x4 data:4byte
8007+
sPowerBtnPressed = .sbss:0x8025D0E8; // type:object size:0x4 data:4byte
8008+
sResetBtnPressed = .sbss:0x8025D0EC; // type:object size:0x4 data:4byte
80098009
lbl_8025D0F0 = .sbss:0x8025D0F0; // type:object size:0x4 data:4byte
80108010
lbl_8025D0F4 = .sbss:0x8025D0F4; // type:object size:0x4 data:4byte
80118011
lbl_8025D0F8 = .sbss:0x8025D0F8; // type:object size:0x4 data:4byte
@@ -8015,7 +8015,7 @@ lbl_8025D108 = .sbss:0x8025D108; // type:object size:0x4 data:4byte
80158015
sRenderMode = .sbss:0x8025D10C; // type:object size:0x4 scope:local data:4byte
80168016
lbl_8025D110 = .sbss:0x8025D110; // type:object size:0x1 data:byte
80178017
lbl_8025D114 = .sbss:0x8025D114; // type:object size:0x4 data:4byte
8018-
lbl_8025D118 = .sbss:0x8025D118; // type:object size:0x4 data:4byte
8018+
nHbmVcmvState = .sbss:0x8025D118; // type:object size:0x4 data:4byte
80198019
sControllerVICallback = .sbss:0x8025D120; // type:object size:0x4 scope:local data:4byte
80208020
sControllerHeap = .sbss:0x8025D124; // type:object size:0x4 scope:local data:4byte
80218021
sFontHeader = .sbss:0x8025D128; // type:object size:0x4 scope:local data:4byte

config/oot-u/symbols.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ helpMenuReadNAND = .text:0x8005E2EC; // type:function size:0x18C scope:local
788788
helpMenuSetupTexturedQuad = .text:0x8005E478; // type:function size:0x1DC scope:local
789789
helpMenuSetupColoredQuad = .text:0x8005E654; // type:function size:0x1C8 scope:local
790790
helpMenu_8005E800 = .text:0x8005E81C; // type:function size:0x2FC scope:local
791-
helpMenu_8005EAFC = .text:0x8005EB18; // type:function size:0x300 scope:local
791+
helpMenuRunManualViewer = .text:0x8005EB18; // type:function size:0x300 scope:local
792792
helpMenu_8005EDFC = .text:0x8005EE18; // type:function size:0x358 scope:local
793793
helpMenuPowerCallback = .text:0x8005F170; // type:function size:0x4C scope:local
794794
helpMenuResetCallback = .text:0x8005F1BC; // type:function size:0x4C scope:local
@@ -1107,7 +1107,7 @@ fn_80088674 = .text:0x80088680; // type:function size:0x4
11071107
fn_80088678 = .text:0x80088684; // type:function size:0xF4
11081108
fn_8008876C = .text:0x80088778; // type:function size:0x58
11091109
fn_800887C4 = .text:0x800887D0; // type:function size:0x4
1110-
fn_800887C8 = .text:0x800887D4; // type:function size:0x4
1110+
VCMVRun = .text:0x800887D4; // type:function size:0x4
11111111
fn_800887CC = .text:0x800887D8; // type:function size:0x8
11121112
fn_800887D4 = .text:0x800887E0; // type:function size:0x58
11131113
fn_8008882C = .text:0x80088838; // type:function size:0xB0
@@ -7342,7 +7342,7 @@ sMemAllocator1 = .bss:0x801C7DE0; // type:object size:0x10 scope:local
73427342
sMemAllocator2 = .bss:0x801C7DF0; // type:object size:0x10 scope:local
73437343
sWebsitePath = .bss:0x801C7E00; // type:object size:0x28 scope:local
73447344
lbl_801C7D28 = .bss:0x801C7E28; // type:object size:0x10 scope:local data:4byte
7345-
sHBMDataInfo = .bss:0x801C7E38; // type:object size:0x3C scope:local data:4byte
7345+
hbmInfo = .bss:0x801C7E38; // type:object size:0x3C scope:local data:4byte
73467346
sHandleNAND = .bss:0x801C7E74; // type:object size:0x24 scope:local data:4byte
73477347
sTexObj = .bss:0x801C7E98; // type:object size:0x20 scope:local data:4byte
73487348
gControllerAllocator = .bss:0x801C7EB8; // type:object size:0x10
@@ -8017,8 +8017,8 @@ lbl_8025D0D8 = .sbss:0x8025D1D8; // type:object size:0x4 scope:global data:4byte
80178017
lbl_8025D0DC = .sbss:0x8025D1DC; // type:object size:0x4 scope:global data:4byte
80188018
lbl_8025D0E0 = .sbss:0x8025D1E0; // type:object size:0x4 scope:global data:4byte
80198019
lbl_8025D0E4 = .sbss:0x8025D1E4; // type:object size:0x4 scope:global data:4byte
8020-
lbl_8025D0E8 = .sbss:0x8025D1E8; // type:object size:0x4 scope:global data:4byte
8021-
lbl_8025D0EC = .sbss:0x8025D1EC; // type:object size:0x4 scope:global data:4byte
8020+
sPowerBtnPressed = .sbss:0x8025D1E8; // type:object size:0x4 scope:global data:4byte
8021+
sResetBtnPressed = .sbss:0x8025D1EC; // type:object size:0x4 scope:global data:4byte
80228022
lbl_8025D0F0 = .sbss:0x8025D1F0; // type:object size:0x4 scope:global data:4byte
80238023
lbl_8025D0F4 = .sbss:0x8025D1F4; // type:object size:0x4 scope:global data:4byte
80248024
lbl_8025D0F8 = .sbss:0x8025D1F8; // type:object size:0x4 scope:global data:4byte
@@ -8028,7 +8028,7 @@ lbl_8025D108 = .sbss:0x8025D208; // type:object size:0x4 scope:global data:4byte
80288028
sRenderMode = .sbss:0x8025D20C; // type:object size:0x4 scope:local data:4byte
80298029
lbl_8025D110 = .sbss:0x8025D210; // type:object size:0x1 scope:global data:byte
80308030
lbl_8025D114 = .sbss:0x8025D214; // type:object size:0x4 scope:global data:4byte
8031-
lbl_8025D118 = .sbss:0x8025D218; // type:object size:0x4 scope:global data:4byte
8031+
nHbmVcmvState = .sbss:0x8025D218; // type:object size:0x4 scope:global data:4byte
80328032
sControllerVICallback = .sbss:0x8025D220; // type:object size:0x4 scope:local data:4byte
80338033
sControllerHeap = .sbss:0x8025D224; // type:object size:0x4 scope:local data:4byte
80348034
sFontHeader = .sbss:0x8025D228; // type:object size:0x4 scope:local data:4byte

include/emulator/helpRVL.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,20 @@
1010
extern "C" {
1111
#endif
1212

13+
typedef enum HbmVcmvState {
14+
/* 0 */ E_Unknown_00,
15+
/* 1 */ E_InGamePlusBanIcon,
16+
/* 2 */ E_GameToHbmTransition1,
17+
/* 3 */ E_GameToHbmTransition2,
18+
/* 4 */ E_Unknown_04,
19+
/* 5 */ E_HbmToGameTransition,
20+
/* 6 */ E_ManualViewerInit,
21+
/* 7 */ E_ManualViewerRunning,
22+
/* 8 */ E_ManualViewerStopped,
23+
/* 9 */ E_BlackOutTransition,
24+
/* 10 */ E_Unknown_10,
25+
} HbmVcmvState;
26+
1327
typedef bool (*HelpMenuCallback)(void);
1428

1529
typedef struct struct_801C7D28 {

0 commit comments

Comments
 (0)