-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decompile DRA func_80133FCC #836
Conversation
I haven't checked this locally but I think it's more like this https://decomp.me/scratch/zc3Px |
It is matching with the mentionned variable, thank you ! |
From what I remember D_800BD240 and D_800BD228 aren't real variables, they are offsets within g_XaMusicConfigs. |
src/pc/stubs.c
Outdated
@@ -119,6 +119,9 @@ s32 D_800987B4; | |||
u8 g_PadsRepeatTimer[BUTTON_COUNT * PAD_COUNT]; | |||
s32 D_80136410; | |||
s32 D_80136414[]; | |||
s32 D_8013B65C; | |||
s32 D_800BD228; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
g_XaMusicConfigs = 0x800BD224;
So use unk228 for D_800BD228 and 240 is probably the next element, by my count the struct is 16 bytes. So 0x800BD224+16+12 == g_XaMusicConfigs[pos + 1].unk22f?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't think about adding 1 to the sound pos, I finally got it to match with the field unk230
from that same structure, thanks !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks dope. Thank you. And Merry Christmas 🎄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing the g_XaMusicConfigs thing
Should be good to go ?