Skip to content

Commit

Permalink
Merge pull request #107 from pret/frag_bss
Browse files Browse the repository at this point in the history
Add BSS definitions for Fragments
  • Loading branch information
RevoSucks committed Aug 19, 2024
2 parents 04ead73 + a5efbff commit 6a26b5b
Show file tree
Hide file tree
Showing 4 changed files with 772 additions and 80 deletions.
2 changes: 2 additions & 0 deletions include/sections.h
Original file line number Diff line number Diff line change
Expand Up @@ -411,4 +411,6 @@ extern u8 _5FFC30_ROM_START[];

extern u8 D_124570[];

extern u32 fragment1_relocs_ROM_END[];

#endif // _SECTIONS_H_
2 changes: 1 addition & 1 deletion src/E1C0.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void func_8000D738(struct UnkInputStruct8000D738* arg0) {
D_800AA660 = main_pool_alloc(0x2210, 0);
D_800AA664 = main_pool_alloc(0x21E0, 0);
func_80004454(((u32)((u32)&fragment1_TEXT_START & 0x0FF00000) >> 0x14) - 0x10, &fragment1_ROM_START,
&fragment1_ROM_END);
&fragment1_relocs_ROM_END);
temp_v0 = func_800044F4(&_3BA190_ROM_START, &_3CB130_ROM_START, 1, 1);
D_800AA660->unk21FC = func_8000484C(temp_v0, 0);
D_800AA660->unk2200 = func_8000484C(temp_v0, 1);
Expand Down
2 changes: 1 addition & 1 deletion yamls/us/header.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ options:
segment_end_before_align: True
ld_align_section_vram_end: False
image_type_in_extension: true

check_consecutive_segment_types: False
segments:
Loading

0 comments on commit 6a26b5b

Please sign in to comment.