1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-14 05:19:36 +00:00
oot/src/code/sys_ucode.c
Roman971 235b0b8e0b
Fix more raw pointers (rsp and part of .data) (#170)
Known files left with pointers in .data after this (possibly the only ones since I checked roughly everything):
- flg_set.c
- z_camera.c
- db_camera.c
- code_800D7CD0.c (ucode_disas.c)
- audio (not sure which ones, see the structure sheet)
2020-05-27 09:06:37 -04:00

20 lines
341 B
C

#include <global.h>
u32 D_8012DBA0 = (u32)&D_80155F50;
u32 D_8012DBA4 = (u32)&D_80157580;
u32 SysUcode_GetUCodeBoot() {
return &D_80009320;
}
u32 SysUcode_GetUCodeBootSize() {
return (u32)&D_800093F0 - (u32)&D_80009320;
}
u32 SysUcode_GetUCode() {
return D_8012DBA0;
}
u32 SysUcode_GetUCodeData() {
return D_8012DBA4;
}