1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-14 13:30:47 +00:00
oot/src/code/sys_ucode.c

21 lines
341 B
C
Raw Normal View History

2020-03-17 04:31:30 +00:00
#include <global.h>
u32 D_8012DBA0 = (u32)&D_80155F50;
u32 D_8012DBA4 = (u32)&D_80157580;
2020-03-22 21:19:43 +00:00
u32 SysUcode_GetUCodeBoot() {
2020-03-17 04:31:30 +00:00
return &D_80009320;
}
u32 SysUcode_GetUCodeBootSize() {
2020-03-17 04:31:30 +00:00
return (u32)&D_800093F0 - (u32)&D_80009320;
}
u32 SysUcode_GetUCode() {
2020-03-17 04:31:30 +00:00
return D_8012DBA0;
}
u32 SysUcode_GetUCodeData() {
2020-03-17 04:31:30 +00:00
return D_8012DBA4;
}