diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-07-09 17:35:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-09 19:35:12 -0500 |
commit | 386299d1f401cb939e6fe3ea16d0ca57731b2648 (patch) | |
tree | bb0644a8ad61f43d483dfbc2932011bcfa2388ab /src/post_office_guide.c | |
parent | f55ac4c552291687f5a3972b2ad9bdb187676229 (diff) |
Makefile and Install.md Revamp (#41)
* Makefile: move over to gcc for preproc and ditch cpp
* INSTALL: rewrite INSTALL
* README: add CI badge
* Makefile: make tools build before anything else
Diffstat (limited to 'src/post_office_guide.c')
-rw-r--r-- | src/post_office_guide.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/post_office_guide.c b/src/post_office_guide.c index 8fbfe56..063d0fa 100644 --- a/src/post_office_guide.c +++ b/src/post_office_guide.c @@ -33,7 +33,7 @@ struct unkStruct_203B330 u8 fillE[2]; u32 unk10; struct UnkTextStruct2 *unk14; - struct UnkTextStruct2 unk18[3]; + struct UnkTextStruct2 unk18[4]; }; extern struct unkStruct_203B330 *gUnknown_203B330; @@ -536,7 +536,7 @@ void ReturnToGetHelpMenu(void) u32 sub_80319A4(u8 param_1,u8 param_2,int param_3) { - gUnknown_203B330 = MemoryAlloc(0x78,8); + gUnknown_203B330 = MemoryAlloc(sizeof(struct unkStruct_203B330),8); gUnknown_203B330->unkC = param_1; gUnknown_203B330->unkD = param_2; sub_801317C(&gUnknown_203B330->unk0); |