mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-06-18 14:25:25 -04:00
Add sys_ucode bss
This commit is contained in:
@@ -381,6 +381,7 @@ zurumode.c:
|
||||
sys_ucode.c:
|
||||
.text: [0x8040F008, 0x8040F048]
|
||||
.data: [0x8065FA30, 0x8065FA40]
|
||||
.bss: [0x812F9680, 0x812F96A0]
|
||||
ac_sample.c:
|
||||
.text: [0x8040F048, 0x8040F614]
|
||||
.rodata: [0x80643860, 0x80643868]
|
||||
|
||||
+12
-7
@@ -1,21 +1,26 @@
|
||||
#include "sys_ucode.h"
|
||||
|
||||
s64* poly_tbl[] = {gspF3DZEX2_NoN_PosLight_fifoTextStart, gspF3DZEX2_NoN_PosLight_fifoDataStart};
|
||||
long long int gspF3DZEX2_NoN_PosLight_fifoTextStart[1];
|
||||
long long int gspF3DZEX2_NoN_PosLight_fifoDataStart[1];
|
||||
long long int gspS2DEX2_fifoTextStart[1];
|
||||
long long int gspS2DEX2_fifoDataStart[1];
|
||||
|
||||
s64* sprite_tbl[] = {gspS2DEX2_fifoTextStart,gspS2DEX2_fifoDataStart};
|
||||
s64* poly_tbl[] = { gspF3DZEX2_NoN_PosLight_fifoTextStart, gspF3DZEX2_NoN_PosLight_fifoDataStart };
|
||||
|
||||
s64* ucode_GetPolyTextStart(void){
|
||||
s64* sprite_tbl[] = { gspS2DEX2_fifoTextStart, gspS2DEX2_fifoDataStart };
|
||||
|
||||
extern s64* ucode_GetPolyTextStart(void) {
|
||||
return poly_tbl[0];
|
||||
}
|
||||
|
||||
s64* ucode_GetPolyDataStart(void){
|
||||
extern s64* ucode_GetPolyDataStart(void) {
|
||||
return poly_tbl[1];
|
||||
}
|
||||
|
||||
s64* ucode_GetSpriteTextStart(void){
|
||||
extern s64* ucode_GetSpriteTextStart(void) {
|
||||
return sprite_tbl[0];
|
||||
}
|
||||
|
||||
s64* ucode_GetSpriteDataStart(void){
|
||||
extern s64* ucode_GetSpriteDataStart(void) {
|
||||
return sprite_tbl[1];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user