1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-02 15:55:59 +00:00
oot/src/code/sys_ucode.c

21 lines
357 B
C
Raw Normal View History

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