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
470 B
C
Raw Normal View History

#include "global.h"
2020-03-17 04:31:30 +00:00
u64* sDefaultGSPUCodeText = gspF3DZEX2_NoN_PosLight_fifoTextStart;
u64* sDefaultGSPUCodeData = gspF3DZEX2_NoN_PosLight_fifoDataStart;
u64* SysUcode_GetUCodeBoot(void) {
return rspbootTextStart;
2020-03-17 04:31:30 +00:00
}
size_t SysUcode_GetUCodeBootSize(void) {
return (size_t)((u8*)rspbootTextEnd - (u8*)rspbootTextStart);
2020-03-17 04:31:30 +00:00
}
u64* SysUcode_GetUCode(void) {
return sDefaultGSPUCodeText;
2020-03-17 04:31:30 +00:00
}
u64* SysUcode_GetUCodeData(void) {
return sDefaultGSPUCodeData;
2020-03-17 04:31:30 +00:00
}