2020-10-03 15:22:44 +00:00
|
|
|
#include "global.h"
|
2020-03-17 04:31:30 +00:00
|
|
|
|
2022-05-03 22:43:09 +00:00
|
|
|
u64* sDefaultGSPUCodeText = gspF3DZEX2_NoN_PosLight_fifoTextStart;
|
|
|
|
u64* sDefaultGSPUCodeData = gspF3DZEX2_NoN_PosLight_fifoDataStart;
|
2020-05-27 13:06:37 +00:00
|
|
|
|
2022-05-03 22:43:09 +00:00
|
|
|
u64* SysUcode_GetUCodeBoot(void) {
|
|
|
|
return rspbootTextStart;
|
2020-03-17 04:31:30 +00:00
|
|
|
}
|
|
|
|
|
2022-05-03 22:43:09 +00:00
|
|
|
size_t SysUcode_GetUCodeBootSize(void) {
|
|
|
|
return (size_t)((u8*)rspbootTextEnd - (u8*)rspbootTextStart);
|
2020-03-17 04:31:30 +00:00
|
|
|
}
|
|
|
|
|
2022-05-03 22:43:09 +00:00
|
|
|
u64* SysUcode_GetUCode(void) {
|
|
|
|
return sDefaultGSPUCodeText;
|
2020-03-17 04:31:30 +00:00
|
|
|
}
|
|
|
|
|
2022-05-03 22:43:09 +00:00
|
|
|
u64* SysUcode_GetUCodeData(void) {
|
|
|
|
return sDefaultGSPUCodeData;
|
2020-03-17 04:31:30 +00:00
|
|
|
}
|