mirror of
https://github.com/zeldaret/af.git
synced 2026-09-30 07:22:11 -04:00
c6f7579939
* sys_ucode OK * add map names for rspboot variables * fixes
32 lines
640 B
C
32 lines
640 B
C
#include "global.h"
|
|
|
|
#include "sys_ucode.h"
|
|
|
|
s64* poly_tbl[] = { gspF3DZEX2_NoN_PosLight_fifoTextStart, gspF3DZEX2_NoN_PosLight_fifoDataStart };
|
|
|
|
s64* sprite_tbl[] = { gspS2DEX2_fifoTextStart, gspS2DEX2_fifoDataStart };
|
|
|
|
s64* ucode_GetRspBootTextStart() {
|
|
return rspbootTextStart;
|
|
}
|
|
|
|
size_t ucode_GetRspBootTextSize() {
|
|
return ((uintptr_t)rspbootTextEnd - (uintptr_t)rspbootTextStart);
|
|
}
|
|
|
|
s64* ucode_GetPolyTextStart() {
|
|
return poly_tbl[0];
|
|
}
|
|
|
|
s64* ucode_GetPolyDataStart() {
|
|
return poly_tbl[1];
|
|
}
|
|
|
|
s64* ucode_GetSpriteTextStart() {
|
|
return sprite_tbl[0];
|
|
}
|
|
|
|
s64* ucode_GetSpriteDataStart() {
|
|
return sprite_tbl[1];
|
|
}
|