mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 12:32:38 +01:00
decomp of func_8014A52C from code_e0b30_len_b80
* updates to undefined_syms * updates to variables.h * added helper window_terminal.bat for windows users original mips to c output ``` s16 func_8014A52C(void) { *(void *)0x80159AE2 = (u16)8; *(void *)0x80159AE4 = (u16)8; return (u16)8; } ```
This commit is contained in:
parent
c67e2794a7
commit
b02c9b1bd9
@ -54,6 +54,8 @@ extern s16* D_80151328;
|
||||
extern s16 D_8010CD10;
|
||||
extern s16 D_8010CD12;
|
||||
extern s32 D_801595A0;
|
||||
extern s16 D_80159AE2;
|
||||
extern s16 D_80159AE4;
|
||||
extern BackgroundHeader gBackgroundImage;
|
||||
extern s8 D_8014F12F;
|
||||
|
||||
|
@ -4,7 +4,10 @@ INCLUDE_ASM("code_e0b30_len_b80", get_default_variation_for_song);
|
||||
|
||||
INCLUDE_ASM("code_e0b30_len_b80", func_8014A498);
|
||||
|
||||
INCLUDE_ASM("code_e0b30_len_b80", func_8014A52C);
|
||||
void func_8014A52C(void) {
|
||||
D_80159AE2 = (s16)0x08;
|
||||
D_80159AE4 = (s16)0x08;
|
||||
}
|
||||
|
||||
INCLUDE_ASM("code_e0b30_len_b80", func_8014A548);
|
||||
|
||||
|
6
tools/windows_terminal.bat
Normal file
6
tools/windows_terminal.bat
Normal file
@ -0,0 +1,6 @@
|
||||
:: replace with your distro
|
||||
set distro="Ubuntu-18.04"
|
||||
wt -p %distro% -d "../" ; ^
|
||||
split-pane -p %distro% -d "../" -V --title "diff.py" ; ^
|
||||
new-tab -p %distro% -d . --title "mips_to_c.py" ; ^
|
||||
focus-tab -t 0
|
@ -75,6 +75,8 @@ gTriggerList2 = 0x80159290;
|
||||
gCurrentTriggerListPtr = 0x80159390;
|
||||
|
||||
D_801595A0 = 0x801595A0;
|
||||
D_80159AE2 = 0x80159AE2;
|
||||
D_80159AE4 = 0x80159AE4;
|
||||
D_8015C7C0 = 0x8015C7C0;
|
||||
|
||||
gWorldModelList = 0x80151770;
|
||||
|
Loading…
Reference in New Issue
Block a user