mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-11 03:39:59 +00:00
Fix BSS of 2 actors to avoid hardcoded increments in the spec (#119)
This commit is contained in:
parent
1425678d8a
commit
f7187808bc
3 changed files with 24 additions and 4 deletions
11
data/overlays/actors/z_en_box.bss.s
Normal file
11
data/overlays/actors/z_en_box.bss.s
Normal file
|
@ -0,0 +1,11 @@
|
|||
.include "macro.inc"
|
||||
|
||||
# assembler directives
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purposee registers
|
||||
|
||||
.bss
|
||||
|
||||
glabel D_809CAB00
|
||||
.space 0x10
|
11
data/overlays/actors/z_en_sw.bss.s
Normal file
11
data/overlays/actors/z_en_sw.bss.s
Normal file
|
@ -0,0 +1,11 @@
|
|||
.include "macro.inc"
|
||||
|
||||
# assembler directives
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purposee registers
|
||||
|
||||
.bss
|
||||
|
||||
glabel D_80B0F630
|
||||
.space 0x80
|
6
spec
6
spec
|
@ -593,8 +593,6 @@ beginseg
|
|||
include "build/src/overlays/gamestates/ovl_opening/z_opening_reloc.o"
|
||||
endseg
|
||||
|
||||
// note: increment commands account for segments who have BSS data but reflect a Virt addr range difference.
|
||||
|
||||
beginseg
|
||||
name "ovl_file_choose"
|
||||
include "build/src/overlays/gamestates/ovl_file_choose/z_file_choose.o"
|
||||
|
@ -2193,9 +2191,9 @@ endseg
|
|||
|
||||
beginseg
|
||||
name "ovl_En_Box"
|
||||
increment 0x10
|
||||
include "build/src/overlays/actors/ovl_En_Box/z_en_box.o"
|
||||
include "build/data/overlays/actors/z_en_box.data.o"
|
||||
include "build/data/overlays/actors/z_en_box.bss.o"
|
||||
include "build/data/overlays/actors/z_en_box.reloc.o"
|
||||
endseg
|
||||
|
||||
|
@ -3267,9 +3265,9 @@ endseg
|
|||
|
||||
beginseg
|
||||
name "ovl_En_Sw"
|
||||
increment 0x80
|
||||
include "build/src/overlays/actors/ovl_En_Sw/z_en_sw.o"
|
||||
include "build/data/overlays/actors/z_en_sw.data.o"
|
||||
include "build/data/overlays/actors/z_en_sw.bss.o"
|
||||
include "build/data/overlays/actors/z_en_sw.reloc.o"
|
||||
endseg
|
||||
|
||||
|
|
Loading…
Reference in a new issue