1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-25 09:45:02 +00:00

Extract z_select_static (#1074)

* merge master

* z_select_static OK

* remove jenkins file

* missed a DL

* Update z_select_static.xml

* new ZAPD
This commit is contained in:
louist103 2022-01-17 18:42:33 -05:00 committed by GitHub
parent 46b826fcd4
commit 0a48548da7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 47 additions and 2 deletions

View file

@ -150,6 +150,8 @@ build/src/libultra/libc/%.o: OPTFLAGS := -O2
build/src/libultra/rmon/%.o: OPTFLAGS := -O2 build/src/libultra/rmon/%.o: OPTFLAGS := -O2
build/src/libultra/gu/%.o: OPTFLAGS := -O2 build/src/libultra/gu/%.o: OPTFLAGS := -O2
build/assets/misc/z_select_static/%.o: CFLAGS += -DF3DEX_GBI
build/src/libultra/gu/%.o: CC := $(CC_OLD) build/src/libultra/gu/%.o: CC := $(CC_OLD)
build/src/libultra/io/%.o: CC := $(CC_OLD) build/src/libultra/io/%.o: CC := $(CC_OLD)
build/src/libultra/libc/%.o: CC := $(CC_OLD) build/src/libultra/libc/%.o: CC := $(CC_OLD)

View file

@ -0,0 +1,40 @@
<Root>
<File Name="z_select_static" Segment="1">
<DList Name="gSelectStatic1DL" Ucode="f3dex" Offset="0x0"/>
<DList Name="gSelectStatic2DL" Ucode="f3dex" Offset="0x68"/>
<DList Name="gSelectStatic3DL" Ucode="f3dex" Offset="0xD0"/>
<DList Name="gSelectStatic4DL" Ucode="f3dex" Offset="0x140"/>
<DList Name="gSelectStatic5DL" Ucode="f3dex" Offset="0x1A8"/>
<DList Name="gSelectStatic6DL" Ucode="f3dex" Offset="0x210"/>
<DList Name="gSelectStatic7DL" Ucode="f3dex" Offset="0x278"/>
<DList Name="gSelectStatic8DL" Ucode="f3dex" Offset="0x2E8"/>
<DList Name="gSelectStatic9DL" Ucode="f3dex" Offset="0x350"/>
<DList Name="gSelectStatic10DL" Ucode="f3dex" Offset="0x3B8"/>
<DList Name="gSelectStatic11DL" Ucode="f3dex" Offset="0x420"/>
<DList Name="gSelectStatic12DL" Ucode="f3dex" Offset="0x488"/>
<DList Name="gSelectStatic13DL" Ucode="f3dex" Offset="0x4F8"/>
<DList Name="gSelectStatic14DL" Ucode="f3dex" Offset="0x560"/>
<DList Name="gSelectStatic15DL" Ucode="f3dex" Offset="0x5C8"/>
<DList Name="gSelectStatic16DL" Ucode="f3dex" Offset="0x630"/>
<DList Name="gSelectStatic17DL" Ucode="f3dex" Offset="0x698"/>
<DList Name="gSelectStatic18DL" Ucode="f3dex" Offset="0x700"/>
<DList Name="gSelectStatic19DL" Ucode="f3dex" Offset="0x770"/>
<DList Name="gSelectStatic20DL" Ucode="f3dex" Offset="0x7D8"/>
<DList Name="gSelectStatic21DL" Ucode="f3dex" Offset="0x840"/>
<DList Name="gSelectStatic22DL" Ucode="f3dex" Offset="0x8A8"/>
<DList Name="gSelectStatic23DL" Ucode="f3dex" Offset="0x918"/>
<DList Name="gSelectStatic24DL" Ucode="f3dex" Offset="0x980"/>
<DList Name="gSelectStatic25DL" Ucode="f3dex" Offset="0x9E8"/>
<DList Name="gSelectStatic26DL" Ucode="f3dex" Offset="0xA50"/>
<DList Name="gSelectStatic27DL" Ucode="f3dex" Offset="0xAB8"/>
<DList Name="gSelectStatic28DL" Ucode="f3dex" Offset="0xB20"/>
<DList Name="gSelectStatic29DL" Ucode="f3dex" Offset="0xB88"/>
<DList Name="gSelectStatic30DL" Ucode="f3dex" Offset="0xBF0"/>
<DList Name="gSelectStatic31DL" Ucode="f3dex" Offset="0xC60"/>
<DList Name="gSelectStatic32DL" Ucode="f3dex" Offset="0xCD0"/>
<DList Name="gSelectStaticMasterDL" Ucode="f3dex" Offset="0xE88"/>
<Array Name="gSelectStaticVtx" Count="294" Offset="0xF98">
<Vtx/>
</Array>
</File>
</Root>

View file

@ -10,7 +10,9 @@
/* Private macro to wrap other macros in do {...} while (0) */ /* Private macro to wrap other macros in do {...} while (0) */
#define _DW(macro) do {macro} while (0) #define _DW(macro) do {macro} while (0)
#define F3DEX_GBI_2 #ifndef F3DEX_GBI
#define F3DEX_GBI_2
#endif
#ifdef F3DEX_GBI_2 #ifdef F3DEX_GBI_2
# ifndef F3DEX_GBI # ifndef F3DEX_GBI

3
spec
View file

@ -6384,7 +6384,8 @@ endseg
beginseg beginseg
name "z_select_static" name "z_select_static"
romalign 0x1000 romalign 0x1000
include "build/baserom/z_select_static.o" include "build/assets/misc/z_select_static/z_select_static.o"
number 1
endseg endseg
beginseg beginseg